Configuration

EverTask provides extensive configuration options to control task execution, queue management, retry policies, timeouts, and more.

Quick Access

Configuration Reference

Complete reference documentation for all EverTask configuration options with detailed explanations, examples, and best practices.

Use this when:

  • Setting up EverTask for the first time
  • Understanding the purpose and impact of specific options
  • Learning about advanced configuration scenarios
  • Troubleshooting configuration issues

Configuration Cheatsheet

Quick reference guide with all configuration options in a concise, scannable format.

Use this when:

  • You already know what to configure
  • Looking up syntax quickly
  • Need a reminder of available options
  • Want to see all options at a glance

Common Configuration Scenarios

Minimal Setup

builder.Services.AddEverTask(opt =>
{
    opt.RegisterTasksFromAssembly(typeof(Program).Assembly);
})
.AddMemoryStorage();

Production Setup

builder.Services.AddEverTask(opt =>
{
    opt.SetMaxDegreeOfParallelism(10)
       .SetDefaultRetryPolicy(new LinearRetryPolicy(3, TimeSpan.FromSeconds(1)))
       .SetDefaultTimeout(TimeSpan.FromSeconds(30))
       .RegisterTasksFromAssembly(typeof(Program).Assembly);
})
.AddSqlServerStorage(connectionString);

High-Throughput Setup

builder.Services.AddEverTask(opt =>
{
    opt.SetMaxDegreeOfParallelism(50)
       .SetChannelOptions(5000)
       .RegisterTasksFromAssembly(typeof(Program).Assembly);
})
.ConfigureDefaultQueue(q => q
    .SetMaxDegreeOfParallelism(20)
    .SetChannelCapacity(500))
.AddQueue("critical", q => q
    .SetMaxDegreeOfParallelism(20)
    .SetChannelCapacity(500))
.AddQueue("background", q => q
    .SetMaxDegreeOfParallelism(10)
    .SetChannelCapacity(200))
.AddSqlServerStorage(connectionString);

Next Steps


Table of contents


Copyright © 2025 Giampaolo Gabba. Distributed under the APACHE 2.0 License.

This site uses Just the Docs, a documentation theme for Jekyll.