1
0
Fork 0

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

View 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 } = {