Increase refresh interval to 2 days

This commit is contained in:
Chocobozzz 2019-03-19 11:15:42 +01:00
parent f58094b257
commit 0e0c745b62
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

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