aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.ts')
-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 b326a6c7b..1c27a9f6b 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -144,7 +144,7 @@ const VIDEO_IMPORT_TIMEOUT = 1000 * 3600 // 1 hour
144 144
145// 1 hour 145// 1 hour
146let SCHEDULER_INTERVALS_MS = { 146let SCHEDULER_INTERVALS_MS = {
147 badActorFollow: 60000 * 60, // 1 hour 147 actorFollowScores: 60000 * 60, // 1 hour
148 removeOldJobs: 60000 * 60, // 1 hour 148 removeOldJobs: 60000 * 60, // 1 hour
149 updateVideos: 60000, // 1 minute 149 updateVideos: 60000, // 1 minute
150 youtubeDLUpdate: 60000 * 60 * 24 // 1 day 150 youtubeDLUpdate: 60000 * 60 * 24 // 1 day
@@ -675,7 +675,7 @@ if (isTestInstance() === true) {
675 675
676 CONSTRAINTS_FIELDS.ACTORS.AVATAR.FILE_SIZE.max = 100 * 1024 // 100KB 676 CONSTRAINTS_FIELDS.ACTORS.AVATAR.FILE_SIZE.max = 100 * 1024 // 100KB
677 677
678 SCHEDULER_INTERVALS_MS.badActorFollow = 10000 678 SCHEDULER_INTERVALS_MS.actorFollowScores = 1000
679 SCHEDULER_INTERVALS_MS.removeOldJobs = 10000 679 SCHEDULER_INTERVALS_MS.removeOldJobs = 10000
680 SCHEDULER_INTERVALS_MS.updateVideos = 5000 680 SCHEDULER_INTERVALS_MS.updateVideos = 5000
681 REPEAT_JOBS['videos-views'] = { every: 5000 } 681 REPEAT_JOBS['videos-views'] = { every: 5000 }