lib/sidekiq/monitor.rb in sidekiq_monitor-0.0.9 vs lib/sidekiq/monitor.rb in sidekiq_monitor-0.1.1
- old
+ new
@@ -8,10 +8,12 @@
Dir.glob("#{directory}/../../app/datatables/sidekiq/monitor/jobs_datatable.rb") { |file| require file }
module Sidekiq
module Monitor
DEFAULTS = {
- :graphs => nil
+ :graphs => nil,
+ :javascripts => [],
+ :poll_interval => 3000
}
def self.options
@options ||= DEFAULTS.dup
end