Skip to content

Commit

Permalink
Added support for TICK env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeys committed Aug 13, 2012
1 parent a4e256b commit 96cd81d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/resque_scheduler/tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

Resque::Scheduler.dynamic = true if ENV['DYNAMIC_SCHEDULE']
Resque::Scheduler.verbose = true if ENV['VERBOSE']
Resque::Scheduler.poll_sleep_amount = ENV['TICK'].to_i if ENV['TICK']
Resque::Scheduler.run
end

Expand Down

0 comments on commit 96cd81d

Please sign in to comment.