diff options
Diffstat (limited to 'server/lib')
11 files changed, 11 insertions, 11 deletions
diff --git a/server/lib/activitypub/inbox-manager.ts b/server/lib/activitypub/inbox-manager.ts index 282e7ce66..f2785d6ce 100644 --- a/server/lib/activitypub/inbox-manager.ts +++ b/server/lib/activitypub/inbox-manager.ts | |||
@@ -32,7 +32,7 @@ class InboxManager { | |||
32 | 32 | ||
33 | setInterval(() => { | 33 | setInterval(() => { |
34 | StatsManager.Instance.updateInboxWaiting(this.getActivityPubMessagesWaiting()) | 34 | StatsManager.Instance.updateInboxWaiting(this.getActivityPubMessagesWaiting()) |
35 | }, SCHEDULER_INTERVALS_MS.updateInboxStats) | 35 | }, SCHEDULER_INTERVALS_MS.UPDATE_INBOX_STATS) |
36 | } | 36 | } |
37 | 37 | ||
38 | addInboxMessage (options: QueueParam) { | 38 | addInboxMessage (options: QueueParam) { |
diff --git a/server/lib/schedulers/actor-follow-scheduler.ts b/server/lib/schedulers/actor-follow-scheduler.ts index a5a377573..560f97f3e 100644 --- a/server/lib/schedulers/actor-follow-scheduler.ts +++ b/server/lib/schedulers/actor-follow-scheduler.ts | |||
@@ -9,7 +9,7 @@ export class ActorFollowScheduler extends AbstractScheduler { | |||
9 | 9 | ||
10 | private static instance: AbstractScheduler | 10 | private static instance: AbstractScheduler |
11 | 11 | ||
12 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.actorFollowScores | 12 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.ACTOR_FOLLOW_SCORES |
13 | 13 | ||
14 | private constructor () { | 14 | private constructor () { |
15 | super() | 15 | super() |
diff --git a/server/lib/schedulers/auto-follow-index-instances.ts b/server/lib/schedulers/auto-follow-index-instances.ts index aaa5feed5..d9f9c2de3 100644 --- a/server/lib/schedulers/auto-follow-index-instances.ts +++ b/server/lib/schedulers/auto-follow-index-instances.ts | |||
@@ -12,7 +12,7 @@ export class AutoFollowIndexInstances extends AbstractScheduler { | |||
12 | 12 | ||
13 | private static instance: AbstractScheduler | 13 | private static instance: AbstractScheduler |
14 | 14 | ||
15 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.autoFollowIndexInstances | 15 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.AUTO_FOLLOW_INDEX_INSTANCES |
16 | 16 | ||
17 | private lastCheck: Date | 17 | private lastCheck: Date |
18 | 18 | ||
diff --git a/server/lib/schedulers/peertube-version-check-scheduler.ts b/server/lib/schedulers/peertube-version-check-scheduler.ts index c8960465c..bc38ed49f 100644 --- a/server/lib/schedulers/peertube-version-check-scheduler.ts +++ b/server/lib/schedulers/peertube-version-check-scheduler.ts | |||
@@ -13,7 +13,7 @@ export class PeerTubeVersionCheckScheduler extends AbstractScheduler { | |||
13 | 13 | ||
14 | private static instance: AbstractScheduler | 14 | private static instance: AbstractScheduler |
15 | 15 | ||
16 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.checkPeerTubeVersion | 16 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.CHECK_PEERTUBE_VERSION |
17 | 17 | ||
18 | private constructor () { | 18 | private constructor () { |
19 | super() | 19 | super() |
diff --git a/server/lib/schedulers/plugins-check-scheduler.ts b/server/lib/schedulers/plugins-check-scheduler.ts index c95e109b0..06450fa01 100644 --- a/server/lib/schedulers/plugins-check-scheduler.ts +++ b/server/lib/schedulers/plugins-check-scheduler.ts | |||
@@ -12,7 +12,7 @@ export class PluginsCheckScheduler extends AbstractScheduler { | |||
12 | 12 | ||
13 | private static instance: AbstractScheduler | 13 | private static instance: AbstractScheduler |
14 | 14 | ||
15 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.checkPlugins | 15 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.CHECK_PLUGINS |
16 | 16 | ||
17 | private constructor () { | 17 | private constructor () { |
18 | super() | 18 | super() |
diff --git a/server/lib/schedulers/remove-dangling-resumable-uploads-scheduler.ts b/server/lib/schedulers/remove-dangling-resumable-uploads-scheduler.ts index 099fa5651..d6e561cad 100644 --- a/server/lib/schedulers/remove-dangling-resumable-uploads-scheduler.ts +++ b/server/lib/schedulers/remove-dangling-resumable-uploads-scheduler.ts | |||
@@ -13,7 +13,7 @@ export class RemoveDanglingResumableUploadsScheduler extends AbstractScheduler { | |||
13 | private static instance: AbstractScheduler | 13 | private static instance: AbstractScheduler |
14 | private lastExecutionTimeMs: number | 14 | private lastExecutionTimeMs: number |
15 | 15 | ||
16 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.removeDanglingResumableUploads | 16 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.REMOVE_DANGLING_RESUMABLE_UPLOADS |
17 | 17 | ||
18 | private constructor () { | 18 | private constructor () { |
19 | super() | 19 | super() |
diff --git a/server/lib/schedulers/remove-old-history-scheduler.ts b/server/lib/schedulers/remove-old-history-scheduler.ts index 225669ea2..34b160799 100644 --- a/server/lib/schedulers/remove-old-history-scheduler.ts +++ b/server/lib/schedulers/remove-old-history-scheduler.ts | |||
@@ -8,7 +8,7 @@ export class RemoveOldHistoryScheduler extends AbstractScheduler { | |||
8 | 8 | ||
9 | private static instance: AbstractScheduler | 9 | private static instance: AbstractScheduler |
10 | 10 | ||
11 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.removeOldHistory | 11 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.REMOVE_OLD_HISTORY |
12 | 12 | ||
13 | private constructor () { | 13 | private constructor () { |
14 | super() | 14 | super() |
diff --git a/server/lib/schedulers/remove-old-jobs-scheduler.ts b/server/lib/schedulers/remove-old-jobs-scheduler.ts index 0179a7618..dffef3542 100644 --- a/server/lib/schedulers/remove-old-jobs-scheduler.ts +++ b/server/lib/schedulers/remove-old-jobs-scheduler.ts | |||
@@ -8,7 +8,7 @@ export class RemoveOldJobsScheduler extends AbstractScheduler { | |||
8 | 8 | ||
9 | private static instance: AbstractScheduler | 9 | private static instance: AbstractScheduler |
10 | 10 | ||
11 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.removeOldJobs | 11 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.REMOVE_OLD_JOBS |
12 | 12 | ||
13 | private constructor () { | 13 | private constructor () { |
14 | super() | 14 | super() |
diff --git a/server/lib/schedulers/remove-old-views-scheduler.ts b/server/lib/schedulers/remove-old-views-scheduler.ts index 73577a421..64bef97fe 100644 --- a/server/lib/schedulers/remove-old-views-scheduler.ts +++ b/server/lib/schedulers/remove-old-views-scheduler.ts | |||
@@ -8,7 +8,7 @@ export class RemoveOldViewsScheduler extends AbstractScheduler { | |||
8 | 8 | ||
9 | private static instance: AbstractScheduler | 9 | private static instance: AbstractScheduler |
10 | 10 | ||
11 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.removeOldViews | 11 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.REMOVE_OLD_VIEWS |
12 | 12 | ||
13 | private constructor () { | 13 | private constructor () { |
14 | super() | 14 | super() |
diff --git a/server/lib/schedulers/update-videos-scheduler.ts b/server/lib/schedulers/update-videos-scheduler.ts index af69bda89..c652682dd 100644 --- a/server/lib/schedulers/update-videos-scheduler.ts +++ b/server/lib/schedulers/update-videos-scheduler.ts | |||
@@ -12,7 +12,7 @@ export class UpdateVideosScheduler extends AbstractScheduler { | |||
12 | 12 | ||
13 | private static instance: AbstractScheduler | 13 | private static instance: AbstractScheduler |
14 | 14 | ||
15 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.updateVideos | 15 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.UPDATE_VIDEOS |
16 | 16 | ||
17 | private constructor () { | 17 | private constructor () { |
18 | super() | 18 | super() |
diff --git a/server/lib/schedulers/youtube-dl-update-scheduler.ts b/server/lib/schedulers/youtube-dl-update-scheduler.ts index 93d02f8a9..1ee4ae1b2 100644 --- a/server/lib/schedulers/youtube-dl-update-scheduler.ts +++ b/server/lib/schedulers/youtube-dl-update-scheduler.ts | |||
@@ -6,7 +6,7 @@ export class YoutubeDlUpdateScheduler extends AbstractScheduler { | |||
6 | 6 | ||
7 | private static instance: AbstractScheduler | 7 | private static instance: AbstractScheduler |
8 | 8 | ||
9 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.youtubeDLUpdate | 9 | protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.YOUTUBE_DL_UPDATE |
10 | 10 | ||
11 | private constructor () { | 11 | private constructor () { |
12 | super() | 12 | super() |