Set lease timeout for the same time the scheduler runs

parent 7c60d2db
......@@ -4,7 +4,7 @@ module Geo
include CronjobQueue
DB_RETRIEVE_BATCH_SIZE = 1000
LEASE_TIMEOUT = 10.minutes
LEASE_TIMEOUT = 60.minutes
MAX_CAPACITY = 10
RUN_TIME = 60.minutes.to_i
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment