1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/lib/sidekiq/tasks
Daniel Leavitt 4d9b4f8e8e set default cap hooks in a pre-deploy task
Issue: sidekiq default hooks are never added for cap3

Cause:
The cap3 sidekiq hooks are added based on a cap setting, the final value of which won't be available until "before deploy." Currently the check is done when the task file is loaded.

Solution:
Check and possibly add the hooks in a pre-deploy task rather than at the top level of the task file.
2013-11-16 12:32:41 -08:00
..
sidekiq.rake set default cap hooks in a pre-deploy task 2013-11-16 12:32:41 -08:00