Skip to content

Commit

Permalink
Merge pull request #196 from idekeita/fix-fail-rolling-start
Browse files Browse the repository at this point in the history
fix fail rolling restart task
  • Loading branch information
seuros authored Apr 4, 2018
2 parents 7edb22a + 526994a commit 2534259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capistrano/tasks/sidekiq.rake
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ namespace :sidekiq do
task :rolling_restart do
on roles fetch(:sidekiq_roles) do |role|
switch_user(role) do
each_process_with_index(true) do |pid_file, idx|
each_process_with_index(reverse: true) do |pid_file, idx|
if pid_file_exists?(pid_file) && process_exists?(pid_file)
stop_sidekiq(pid_file)
end
Expand Down

0 comments on commit 2534259

Please sign in to comment.