update lease timeout

This commit is contained in:
James Lopez 2017-05-04 12:21:35 +02:00
parent f81cf84035
commit 3d807dc81b
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ class PropagateProjectServiceWorker
sidekiq_options retry: 3
LEASE_TIMEOUT = 30.minutes.to_i
LEASE_TIMEOUT = 4.hours.to_i
def perform(template_id)
return unless try_obtain_lease_for(template_id)