Skip to content

Commit

Permalink
fix: change resque restart command to avoid unwatched workers appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhidkovDenis committed Sep 4, 2020
1 parent d8e97d2 commit ee6104e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resque/integration/tasks/resque.rake
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace :resque do
if god_stopped?
Rake::Task['resque:start'].invoke
else
puts `#{god} load #{Resque.config.config_file} stop && #{god} restart resque`
puts `#{god} stop resque && #{god} load #{Resque.config.config_file} stop && #{god} start resque`
end
end

Expand Down

0 comments on commit ee6104e

Please sign in to comment.