Increase refresh interval to 2 days
authorChocobozzz <me@florianbigard.com>
Tue, 19 Mar 2019 10:15:42 +0000 (11:15 +0100)
committerChocobozzz <me@florianbigard.com>
Tue, 19 Mar 2019 10:15:42 +0000 (11:15 +0100)
server/initializers/constants.ts

index 169a98ceb0ed38bb3d73729e5931ab4ec47e8de3..19e63d6fe5942f865709b09b60da74080a31d1f3 100644 (file)
@@ -583,8 +583,8 @@ const ACTIVITY_PUB = {
     MAGNET: [ 'application/x-bittorrent;x-scheme-handler/magnet' ]
   },
   MAX_RECURSION_COMMENTS: 100,
-  ACTOR_REFRESH_INTERVAL: 3600 * 24 * 1000, // 1 day
-  VIDEO_REFRESH_INTERVAL: 3600 * 24 * 1000 // 1 day
+  ACTOR_REFRESH_INTERVAL: 3600 * 24 * 1000 * 2, // 2 days
+  VIDEO_REFRESH_INTERVAL: 3600 * 24 * 1000 * 2 // 2 days
 }
 
 const ACTIVITY_PUB_ACTOR_TYPES: { [ id: string ]: ActivityPubActorType } = {