diff options
author | Rémy Coutable <remy@rymai.me> | 2017-06-19 20:43:50 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-06-19 20:43:50 +0300 |
commit | 5544d2b38eb7ac5cb355830aa03a7e758888eb74 (patch) | |
tree | 11fdfdf4b8ad05f287bfa4adf2dc50a2186d8155 /app | |
parent | 757c537fbc12b3f4fe3e4a98455de1ba9e5067f9 (diff) | |
parent | d505a2b8e67998b8e6f9ab525e2ddd6c9298f51e (diff) |
Merge branch 'reduce-sidekiq-wait-timings' into 'master'
Reduce wait timings for Sidekiq jobs
See merge request !12270
Diffstat (limited to 'app')
-rw-r--r-- | app/services/users/refresh_authorized_projects_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/users/refresh_authorized_projects_service.rb b/app/services/users/refresh_authorized_projects_service.rb index 3e07b811027..f028f5eb0d4 100644 --- a/app/services/users/refresh_authorized_projects_service.rb +++ b/app/services/users/refresh_authorized_projects_service.rb @@ -34,7 +34,7 @@ module Users # Keep trying until we obtain the lease. If we don't do so we may end up # not updating the list of authorized projects properly. To prevent # hammering Redis too much we'll wait for a bit between retries. - sleep(1) + sleep(0.1) end begin |