lib/proletariat/tasks.rb in proletariat-0.0.6 vs lib/proletariat/tasks.rb in proletariat-0.1.0
- old
+ new
@@ -5,10 +5,10 @@
namespace :proletariat do
desc 'Start background processing'
task run: :environment do
STDOUT.sync = true
- Proletariat.run!
+ Proletariat.run
at_exit { Proletariat.stop }
sleep
end