Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

CLI-option to set custom time to sleep when queue ran out of jobs #52

Merged
merged 1 commit into from
Mar 6, 2014
Merged

CLI-option to set custom time to sleep when queue ran out of jobs #52

merged 1 commit into from
Mar 6, 2014

Conversation

kingcrunch
Copy link
Contributor

For not time-critical jobs and less used queues it could make sense to increase the time between two polls to reduce the impact on the database

@schmittjoh
Copy link
Owner

Let's keep this on hold until the queue PR has been resolved.

@kingcrunch
Copy link
Contributor Author

No problem. Actually I was concerned about the impact the constant polling on the server may have on the database. I mean there is a request every 2 seconds as long as the queue idles, which sounds quite much. Can you (or somebody else) can give me some insights how much the bundle affects the db-performance? Currently I let the queue idling on a server, but cannot see any impact in the newrelic stats 😕

@schmittjoh
Copy link
Owner

Could you merge the latest changes in your branch, so this can be merged?

@kingcrunch
Copy link
Contributor Author

Rebased and fixed conflicts.

schmittjoh added a commit that referenced this pull request Mar 6, 2014
CLI-option to set custom time to sleep when queue ran out of jobs
@schmittjoh schmittjoh merged commit 77b67f0 into schmittjoh:master Mar 6, 2014
@schmittjoh
Copy link
Owner

Thanks.

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

Successfully merging this pull request may close these issues.

2 participants