1
0
Fork 0
mirror of https://github.com/endofunky/sidetiq.git synced 2022-11-09 13:53:30 -05:00

Add configure_server block to example code.

This commit is contained in:
Tobias Svensson 2013-02-04 11:43:48 +00:00
parent 3dd45e815b
commit 5a1b2b125d

View file

@ -5,6 +5,10 @@ require 'sidetiq'
Sidekiq.options[:poll_interval] = 1
Sidekiq.configure_server do |config|
Sidetiq::Clock.start!
end
class MyWorker
include Sidekiq::Worker
include Sidetiq::Schedulable