Worker Count

This section explains how to configure Elsa to use more workers.

Configuration

To configure the number of workers that Elsa uses internally, you can override the MediatorOptions configuration setting. For example, in your Program.cs file:

builder.Services.Configure<MediatorOptions>(opt =>
{
    opt.CommandWorkerCount = 16;
    opt.JobWorkerCount = 16;
    opt.NotificationWorkerCount = 16;
});

Last updated