diff options
author | James Lopez <james@jameslopez.es> | 2017-05-04 13:21:35 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-05-04 13:21:35 +0300 |
commit | 3d807dc81b27c6366390b2355e40a5c65bbf02c2 (patch) | |
tree | 5702e60ff9867a1b270a79ab818f8b53967e2ac9 /app | |
parent | f81cf84035213002ce7931af6c3ffa917fe7fcbd (diff) |
update lease timeout
Diffstat (limited to 'app')
-rw-r--r-- | app/workers/propagate_project_service_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/propagate_project_service_worker.rb b/app/workers/propagate_project_service_worker.rb index ab2b7738f9a..6cc3fe84635 100644 --- a/app/workers/propagate_project_service_worker.rb +++ b/app/workers/propagate_project_service_worker.rb @@ -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) |