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

Allow BgServingThread serve and sleep intervals to be customized #499

Merged
merged 1 commit into from
Jul 15, 2022
Merged

Allow BgServingThread serve and sleep intervals to be customized #499

merged 1 commit into from
Jul 15, 2022

Conversation

gschaffner
Copy link
Contributor

Hi! Customizing the sleep interval is useful when a client needs to have more than 10 requests/s handled; e.g. see the MWE code for #477.

I have left BgServingThread.SERVE_INTERVAL and BgServingThread.SLEEP_INTERVAL for backwards compatibility.

BgServingThread.SERVE_INTERVAL and BgServingThread.SLEEP_INTERVAL are
left for backwards compatibility.
@comrumino
Copy link
Collaborator

I'm not convinced the way SLEEP_INTERVAL is defined is stylistically a good choice, but that is not on you. Thanks for your work!

@comrumino comrumino merged commit d89ea71 into tomerfiliba-org:master Jul 15, 2022
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

Successfully merging this pull request may close these issues.

2 participants