]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Increase fetcher job ttl
authorChocobozzz <me@florianbigard.com>
Sat, 11 Apr 2020 07:06:15 +0000 (09:06 +0200)
committerChocobozzz <me@florianbigard.com>
Sat, 11 Apr 2020 07:07:15 +0000 (09:07 +0200)
server/initializers/constants.ts

index 91b3d4ef32bef118d15d87c1c91eb07e0ebe75bc..e801e282a144d2cb0579acac53510df72326b044 100644 (file)
@@ -145,11 +145,11 @@ const JOB_CONCURRENCY: { [id in JobType]: number } = {
 const JOB_TTL: { [id in JobType]: number } = {
   'activitypub-http-broadcast': 60000 * 10, // 10 minutes
   'activitypub-http-unicast': 60000 * 10, // 10 minutes
-  'activitypub-http-fetcher': 60000 * 10, // 10 minutes
+  'activitypub-http-fetcher': 1000 * 3600 * 10, // 10 hours
   'activitypub-follow': 60000 * 10, // 10 minutes
   'video-file-import': 1000 * 3600, // 1 hour
   'video-transcoding': 1000 * 3600 * 48, // 2 days, transcoding could be long
-  'video-import': 1000 * 3600 * 2, //  hours
+  'video-import': 1000 * 3600 * 2, // 2 hours
   'email': 60000 * 10, // 10 minutes
   'videos-views': undefined, // Unlimited
   'activitypub-refresher': 60000 * 10, // 10 minutes