aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 992c86ed2..4703e20f2 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -212,10 +212,10 @@ const JOB_TTL: { [id in JobType]: number } = {
212} 212}
213const REPEAT_JOBS: { [ id in JobType ]?: RepeatOptions } = { 213const REPEAT_JOBS: { [ id in JobType ]?: RepeatOptions } = {
214 'videos-views-stats': { 214 'videos-views-stats': {
215 cron: randomInt(1, 20) + ' * * * *' // Between 1-20 minutes past the hour 215 pattern: randomInt(1, 20) + ' * * * *' // Between 1-20 minutes past the hour
216 }, 216 },
217 'activitypub-cleaner': { 217 'activitypub-cleaner': {
218 cron: '30 5 * * ' + randomInt(0, 7) // 1 time per week (random day) at 5:30 AM 218 pattern: '30 5 * * ' + randomInt(0, 7) // 1 time per week (random day) at 5:30 AM
219 } 219 }
220} 220}
221const JOB_PRIORITY = { 221const JOB_PRIORITY = {