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

Minor refactoring of the Worker internals #970

Merged
merged 1 commit into from Apr 26, 2013

Conversation

einarj
Copy link

@einarj einarj commented Apr 26, 2013

  • Moved @child reset from #work into #process_job
  • Moved work loop into its own method

* Moved @child reset from #work into #process_job
* Moved work loop into its own method
@einarj
Copy link
Author

einarj commented Apr 26, 2013

This is the result of a #pairwithme session with @steveklabnik

@steveklabnik
Copy link
Member

Ha! Of course we'd miss the block parameter! How silly!

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.77%) when pulling 712869a on einarj:refactor_workloop into 56a4395 on resque:master.

@einarj
Copy link
Author

einarj commented Apr 26, 2013

Yeah, I smacked my head as soon as I noticed that :)

steveklabnik added a commit that referenced this pull request Apr 26, 2013
Minor refactoring of the Worker internals
@steveklabnik steveklabnik merged commit 714d3e6 into resque:master Apr 26, 2013
@steveklabnik
Copy link
Member

Green! Awesome! :D

@steveklabnik
Copy link
Member

Thanks again for an awesome session.

@einarj
Copy link
Author

einarj commented Apr 26, 2013

My pleasure :)

@einarj einarj deleted the refactor_workloop branch April 26, 2013 22:43
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