Skip to content
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

Throttling #6

Open
muety opened this issue Nov 19, 2022 · 1 comment
Open

Throttling #6

muety opened this issue Nov 19, 2022 · 1 comment

Comments

@muety
Copy link

muety commented Nov 19, 2022

Awesome library, pretty much exactly what I was looking for! There is one feature I'd still like to have, though.

I'd like to have the ability to create throttled dispatchers, that is, dispatchers which run no more than X jobs per time (e.g. 5 per minute), regardless of which rate new jobs are created at.

This could be helpful when sending out large amounts of e-mails, for example. Say, I want to send an e-mail to each of 1,000 users every Friday night, but don't want to send them all at once, but over a period of 30 minutes, to relieve the mail server a bit.

@mborders
Copy link
Owner

Sorry for the delay, thanks for the feedback! That is an interesting concept, I'll see if I can get that added soon. I'll report back soon. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants