Set lease timeout to 8 hours

parent 77723c05
......@@ -2,7 +2,7 @@ module Geo
class RepositoryBackfillService
attr_reader :project
LEASE_TIMEOUT = 24.hours.freeze
LEASE_TIMEOUT = 8.hours.freeze
def initialize(project)
@project = project
......
......@@ -2,7 +2,7 @@ class GeoBackfillWorker
include Sidekiq::Worker
include CronjobQueue
LEASE_TIMEOUT = 24.hours.freeze
LEASE_TIMEOUT = 8.hours.freeze
RUN_TIME = 5.minutes.to_i.freeze
def perform
......
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