mirror of
https://github.com/endofunky/sidetiq.git
synced 2022-11-09 13:53:30 -05:00
12 lines
226 B
Ruby
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
|
|
|
|
|