module Shinq::Statistics
Public Instance Methods
run()
click to toggle source
# File lib/shinq/statistics.rb, line 6 def run until @stop Shinq.logger.info Shinq::Client.queue_stats(table_name: Shinq.configuration.worker_name.pluralize) sleep Shinq.configuration.statistics end end
stop()
click to toggle source
# File lib/shinq/statistics.rb, line 13 def stop @stop = true end