From 5a1b2b125d4bc2dadcbccc4e95b2d19e306dcbbb Mon Sep 17 00:00:00 2001 From: Tobias Svensson Date: Mon, 4 Feb 2013 11:43:48 +0000 Subject: [PATCH] Add configure_server block to example code. --- examples/simple.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/simple.rb b/examples/simple.rb index 66f3180..b4ea2aa 100644 --- a/examples/simple.rb +++ b/examples/simple.rb @@ -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