typo:Log the worker name when starting the task #1837
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
in 7d0b20e the code was refactored to move the startup of workers into the worker class. As part of this, most of the references were changed from 'worker' to 'self'. This also happened to the line logging worker startup, but that line did not move into the worker, so now it just logs "Starting worker main", taking the name main from
rake
. You can still see the old behaviour in the documentation:resque/examples/demo/README.markdown
Line 29 in 7f6b884
There was no explanation for this change so it just looks like a typo to me? It came up for us reading logs and trying to understand where the 'Starting worker main' came from, since it didn't match up to the workers we had crashing.