aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-11 09:06:15 +0200
committerChocobozzz <me@florianbigard.com>2020-04-11 09:07:15 +0200
commitd694b193449b12377f3f509cc1655b34c7a68212 (patch)
tree9d4f4bc34f98b1171de688f8dcd92a4f6d74f3da /server/initializers
parentb7e216811574ae20a702208dc0a00158d90febdc (diff)
downloadPeerTube-d694b193449b12377f3f509cc1655b34c7a68212.tar.gz
PeerTube-d694b193449b12377f3f509cc1655b34c7a68212.tar.zst
PeerTube-d694b193449b12377f3f509cc1655b34c7a68212.zip
Increase fetcher job ttl
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 91b3d4ef3..e801e282a 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -145,11 +145,11 @@ const JOB_CONCURRENCY: { [id in JobType]: number } = {
145const JOB_TTL: { [id in JobType]: number } = { 145const JOB_TTL: { [id in JobType]: number } = {
146 'activitypub-http-broadcast': 60000 * 10, // 10 minutes 146 'activitypub-http-broadcast': 60000 * 10, // 10 minutes
147 'activitypub-http-unicast': 60000 * 10, // 10 minutes 147 'activitypub-http-unicast': 60000 * 10, // 10 minutes
148 'activitypub-http-fetcher': 60000 * 10, // 10 minutes 148 'activitypub-http-fetcher': 1000 * 3600 * 10, // 10 hours
149 'activitypub-follow': 60000 * 10, // 10 minutes 149 'activitypub-follow': 60000 * 10, // 10 minutes
150 'video-file-import': 1000 * 3600, // 1 hour 150 'video-file-import': 1000 * 3600, // 1 hour
151 'video-transcoding': 1000 * 3600 * 48, // 2 days, transcoding could be long 151 'video-transcoding': 1000 * 3600 * 48, // 2 days, transcoding could be long
152 'video-import': 1000 * 3600 * 2, // hours 152 'video-import': 1000 * 3600 * 2, // 2 hours
153 'email': 60000 * 10, // 10 minutes 153 'email': 60000 * 10, // 10 minutes
154 'videos-views': undefined, // Unlimited 154 'videos-views': undefined, // Unlimited
155 'activitypub-refresher': 60000 * 10, // 10 minutes 155 'activitypub-refresher': 60000 * 10, // 10 minutes