1
0
Fork 0
mirror of https://github.com/endofunky/sidetiq.git synced 2022-11-09 13:53:30 -05:00
endofunky--sidetiq/examples/server.rb
2014-06-06 12:02:45 +01:00

12 lines
226 B
Ruby

# Run with `sidekiq -r /path/to/simple.rb`
require 'sidekiq'
require 'sidetiq'
require_relative 'workers/simple'
require_relative 'workers/failing'
Sidekiq.logger.level = Logger::DEBUG
Sidekiq.options[:poll_interval] = 1