Fix lease timeout on GeoBackfillWorker

parent 5c756c5d
......@@ -36,7 +36,7 @@ class GeoBackfillWorker
end
def try_obtain_lease
lease = Gitlab::ExclusiveLease.new(lease_key, timeout: LEASE_TIMEOUT).try_obtain
lease = Gitlab::ExclusiveLease.new(lease_key, timeout: lease_timeout).try_obtain
return unless lease
......
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