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 delay_jobs configuration to be a proc #760

Merged
merged 1 commit into from
Apr 2, 2015

Conversation

cluesque
Copy link

decide whether to background one job at a time

decide whether to background one job at a time
@albus522
Copy link
Member

What would a real world use case for this?

@cluesque
Copy link
Author

My use case is where I want to execute the same code in the web application server and in the background processor, in the app server delaying but in the background processor simply performing the task inline. (But leaving open the possibility that some background tasks can queue up other background tasks.)

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) when pulling ada2f25 on cluesque:per_job_pull_request into c34d783 on collectiveidea:master.

@albus522
Copy link
Member

albus522 commented Apr 2, 2015

Merging then cleaning up

@albus522 albus522 merged commit ada2f25 into collectiveidea:master Apr 2, 2015
albus522 added a commit that referenced this pull request Apr 2, 2015
Allow delay_jobs configuration to be a proc
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.

None yet

3 participants