Replies: 1 comment 1 reply
-
|
You can't change the allowed parallelism during runtime – mostly because it would raise a bunch of annoying questions around how it should be handled internally in Rebus. You CAN, however, change the number of workers! (i.e. the number of threads dedicated to polling the transport for new messages, and thus also for running the first bit of the async message receiving and processing pipeline, until the first Check it out here: https://github.com/rebus-org/Rebus/wiki/Workers-and-parallelism#changing-number-of-workers |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is from the documentation,
services.AddRebus(
configure => configure
.(...)
.Options(o => {
o.SetNumberOfWorkers(1);
o.SetMaxParallelism(10);
})
);
I was wondering if there was a singleton service or something that we could update the settings on for those values? That way we could have an endpoint in our api to set these. My guess is probably that it is not possible
Beta Was this translation helpful? Give feedback.
All reactions