Commit 9f718251 authored by Imre Farkas's avatar Imre Farkas

Less frequent periodic authorized project recalculation

parent 3075d6bf
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
module AuthorizedProjectUpdate module AuthorizedProjectUpdate
class PeriodicRecalculateService class PeriodicRecalculateService
BATCH_SIZE = 480 BATCH_SIZE = 450
DELAY_INTERVAL = 30.seconds.to_i DELAY_INTERVAL = 50.seconds.to_i
def execute def execute
# Using this approach (instead of eg. User.each_batch) keeps the arguments # 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