-
-
Notifications
You must be signed in to change notification settings - Fork 267
feat: configurable queue consummation delay #411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
feat: configurable queue consummation delay #411
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, thanks for the contribution!
I have a few improvements that I think will (a) help the code and (b) enable us to add some tests here.
Also, let's add some user documentation for this! In the file DocsV2/docs/Queuing/README.md
you can add the following to the Adjusting Consummation Delay
section:
Alternatively, you can adjust the consummation delay using AddQueue
:
services.AddQueue(queueOptions => {
// Consume queue every 5 seconds.
queueOptions.ConsummationDelay = 5;
});
:::tip
QueueOptions
will take precedence over your configuration file if both are defined.
:::
Hi @jamesmh , thanks for your reply. I have updated the code with the required changes. I will be very happy to see it once you have free time. |
Looks like this PR has gone stale. Can I assist in any way? |
Hi @HenrikHoyer, thanks for joining. There are pending changes requested by @jamesmh. |
Issue: #409