Skip to content

Resque fork - #347

Merged
kattrali merged 2 commits into
masterfrom
resque-fork
Feb 17, 2017
Merged

kattrali merged 2 commits into
masterfrom
resque-fork

Conversation

@martin308

Copy link
Copy Markdown
Contributor

Suggestion for moving forward with #335.

Check if we are forking the worker and if so only perform the configuration after the fork has occurred. If not then retain the old behavior.

kirs and others added 2 commits February 10, 2017 09:25
this should allow jobs that run inline to still have the app_type set
correctly as before_first_fork is always called regardless of forking
per worker or not. When forking is used for the jobs then the
configuration will only be set in the forked worker
@kattrali
kattrali merged commit 2ec3718 into master Feb 17, 2017
@kattrali
kattrali deleted the resque-fork branch February 17, 2017 02:00
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.

3 participants