diff options
author | Chocobozzz <me@florianbigard.com> | 2019-03-19 11:15:42 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-03-19 11:15:42 +0100 |
commit | 0e0c745b62b2f18e228328e8c4f95b17e54f7a5e (patch) | |
tree | c3f2beeaafee6595dfaa0fd8cea5111c0665b3ff /server/initializers/constants.ts | |
parent | f58094b2577afbd26bb2e74768938bcdd9890c16 (diff) | |
download | PeerTube-0e0c745b62b2f18e228328e8c4f95b17e54f7a5e.tar.gz PeerTube-0e0c745b62b2f18e228328e8c4f95b17e54f7a5e.tar.zst PeerTube-0e0c745b62b2f18e228328e8c4f95b17e54f7a5e.zip |
Increase refresh interval to 2 days
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 169a98ceb..19e63d6fe 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -583,8 +583,8 @@ const ACTIVITY_PUB = { | |||
583 | MAGNET: [ 'application/x-bittorrent;x-scheme-handler/magnet' ] | 583 | MAGNET: [ 'application/x-bittorrent;x-scheme-handler/magnet' ] |
584 | }, | 584 | }, |
585 | MAX_RECURSION_COMMENTS: 100, | 585 | MAX_RECURSION_COMMENTS: 100, |
586 | ACTOR_REFRESH_INTERVAL: 3600 * 24 * 1000, // 1 day | 586 | ACTOR_REFRESH_INTERVAL: 3600 * 24 * 1000 * 2, // 2 days |
587 | VIDEO_REFRESH_INTERVAL: 3600 * 24 * 1000 // 1 day | 587 | VIDEO_REFRESH_INTERVAL: 3600 * 24 * 1000 * 2 // 2 days |
588 | } | 588 | } |
589 | 589 | ||
590 | const ACTIVITY_PUB_ACTOR_TYPES: { [ id: string ]: ActivityPubActorType } = { | 590 | const ACTIVITY_PUB_ACTOR_TYPES: { [ id: string ]: ActivityPubActorType } = { |