aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 19e63d6fe..7fac8a4d6 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -584,7 +584,8 @@ const ACTIVITY_PUB = {
584 }, 584 },
585 MAX_RECURSION_COMMENTS: 100, 585 MAX_RECURSION_COMMENTS: 100,
586 ACTOR_REFRESH_INTERVAL: 3600 * 24 * 1000 * 2, // 2 days 586 ACTOR_REFRESH_INTERVAL: 3600 * 24 * 1000 * 2, // 2 days
587 VIDEO_REFRESH_INTERVAL: 3600 * 24 * 1000 * 2 // 2 days 587 VIDEO_REFRESH_INTERVAL: 3600 * 24 * 1000 * 2, // 2 days
588 VIDEO_PLAYLIST_REFRESH_INTERVAL: 3600 * 24 * 1000 * 2 // 2 days
588} 589}
589 590
590const ACTIVITY_PUB_ACTOR_TYPES: { [ id: string ]: ActivityPubActorType } = { 591const ACTIVITY_PUB_ACTOR_TYPES: { [ id: string ]: ActivityPubActorType } = {
@@ -724,6 +725,7 @@ if (isTestInstance() === true) {
724 ACTIVITY_PUB.COLLECTION_ITEMS_PER_PAGE = 2 725 ACTIVITY_PUB.COLLECTION_ITEMS_PER_PAGE = 2
725 ACTIVITY_PUB.ACTOR_REFRESH_INTERVAL = 10 * 1000 // 10 seconds 726 ACTIVITY_PUB.ACTOR_REFRESH_INTERVAL = 10 * 1000 // 10 seconds
726 ACTIVITY_PUB.VIDEO_REFRESH_INTERVAL = 10 * 1000 // 10 seconds 727 ACTIVITY_PUB.VIDEO_REFRESH_INTERVAL = 10 * 1000 // 10 seconds
728 ACTIVITY_PUB.VIDEO_PLAYLIST_REFRESH_INTERVAL = 10 * 1000 // 10 seconds
727 729
728 CONSTRAINTS_FIELDS.ACTORS.AVATAR.FILE_SIZE.max = 100 * 1024 // 100KB 730 CONSTRAINTS_FIELDS.ACTORS.AVATAR.FILE_SIZE.max = 100 * 1024 // 100KB
729 731