summaryrefslogtreecommitdiff
path: root/app/services/authorized_project_update/periodic_recalculate_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/authorized_project_update/periodic_recalculate_service.rb')
-rw-r--r--app/services/authorized_project_update/periodic_recalculate_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/authorized_project_update/periodic_recalculate_service.rb b/app/services/authorized_project_update/periodic_recalculate_service.rb
index 91c0f50e5e0..662d10c648b 100644
--- a/app/services/authorized_project_update/periodic_recalculate_service.rb
+++ b/app/services/authorized_project_update/periodic_recalculate_service.rb
@@ -2,8 +2,8 @@
module AuthorizedProjectUpdate
class PeriodicRecalculateService
- BATCH_SIZE = 480
- DELAY_INTERVAL = 30.seconds.to_i
+ BATCH_SIZE = 450
+ DELAY_INTERVAL = 50.seconds.to_i
def execute
# Using this approach (instead of eg. User.each_batch) keeps the arguments