lib/capistrano/tasks/sidekiq.rake in capistrano-sidekiq-0.10.0 vs lib/capistrano/tasks/sidekiq.rake in capistrano-sidekiq-0.20.0
- old
+ new
@@ -152,11 +152,10 @@
end
end
end
end
end
- Rake::Task["sidekiq:stop"].reenable
end
desc 'Start sidekiq'
task :start do
on roles fetch(:sidekiq_role) do |role|
@@ -168,10 +167,10 @@
end
end
desc 'Restart sidekiq'
task :restart do
- invoke 'sidekiq:stop'
+ invoke! 'sidekiq:stop'
invoke 'sidekiq:start'
end
desc 'Rolling-restart sidekiq'
task :rolling_restart do