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

Add throttle option to register_batch_process #79

Open
jjeaton opened this issue Oct 18, 2016 · 4 comments
Open

Add throttle option to register_batch_process #79

jjeaton opened this issue Oct 18, 2016 · 4 comments

Comments

@jjeaton
Copy link
Contributor

jjeaton commented Oct 18, 2016

Allow throttling of a batch process, for things like email notifications.

@zachwills
Copy link
Contributor

@jjeaton did you have an idea of how you'd like to set this as a developer using the plugin? Was it something simple like throttle => 60, or did you have something more powerful in mind?

@jjeaton
Copy link
Contributor Author

jjeaton commented Dec 16, 2016

yep, basically a parameter for a value to pass to usleep in microseconds for it to pause in between processing

@zachwills zachwills assigned zachwills and unassigned zachwills Dec 16, 2016
@daronspence
Copy link

@jjeaton did you ever find a solution here? What about adding in the sleep function call to the callback function itself?

@jjeaton
Copy link
Contributor Author

jjeaton commented Aug 10, 2018

@daronspence No solution as of yet, we haven't run into the use case ourselves yet. PRs always welcome :)

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

No branches or pull requests

3 participants