Commit 341d0e2f authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch 'if-authorized_projects_extend_periodic_recalculation' into 'master'

Less frequent periodic authorized project recalculation

See merge request gitlab-org/gitlab!54836
parents 77f51e4b 9f718251
......@@ -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
......
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