Open richardmuucyi opened 2 years ago
I think you need something like:
services
.AddElsa(options => options
.UseServiceBus(context => {
context.Configurer.Transport(......); );
context.Configurer.Subscriptions(.....);
context.Configurer.Options(configurer => {
configurer.SetNumberOfWorkers(10);
configurer.SetMaxParallelism(10);
});
})
I believe I found another one :)
.AddElsa(options =>
{
options
........
.UseServiceBus(.........)
options.ElsaOptions.ServiceBusOptions.MaxParallelism = 10;
options.ElsaOptions.ServiceBusOptions.NumberOfWorkers = 10;
});
@sfmskywalker can you comment which one is preferred/better? In addition is there better/shorter way to specify ServiceBusOptions other than this?
Could you provide sample project to add more worker to rebus?
Bus "Rebus 5" setting number of workers to 1 How to increase the number of workers?