examples/sidekiq.eye in reel-eye-0.4 vs examples/sidekiq.eye in reel-eye-0.4.1
- old
+ new
@@ -8,11 +8,11 @@
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
+ check :cpu, :every => 30, :below => 100, :times => 5
+ check :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 ]))