Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
Merge eaa2aab into 7240f5f
Browse files Browse the repository at this point in the history
  • Loading branch information
phongsi authored Aug 26, 2016
2 parents 7240f5f + eaa2aab commit 532f79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/drivers_worker_sidekiq.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ def configure(context)
end

def after_deploy(context)
context.execute 'monit reload'
(1..process_count).each do |process_number|
context.execute "monit restart sidekiq_#{app['shortname']}-#{process_number}" do
retries 3
end
end
context.execute 'monit reload'
end
alias after_undeploy after_deploy

Expand Down

0 comments on commit 532f79f

Please sign in to comment.