examples/sidekiq.eye in reel-eye-0.3.2 vs examples/sidekiq.eye in reel-eye-0.4
- old
+ new
@@ -7,17 +7,17 @@
start_command "ruby ./bin/sidekiq -e #{rails_env} -C ./config/sidekiq.#{rails_env}.yml"
pid_file "tmp/pids/#{name}.pid"
stdall "log/#{name}.log"
daemonize true
stop_signals [:QUIT, 5.seconds, :TERM, 5.seconds, :KILL]
-
+
checks :cpu, :every => 30, :below => 100, :times => 5
checks :memory, :every => 30, :below => 300.megabytes, :times => 5
end
end
Eye.application :sidekiq_test do
working_dir File.expand_path(File.join(File.dirname(__FILE__), %w[ processes ]))
env "RAILS_ENV" => 'production'
-
+
sidekiq_process self, :sidekiq
end