aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 0c139912c..a3c128d1f 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -283,7 +283,7 @@ const ACTIVITY_PUB = {
283 MAGNET: [ 'application/x-bittorrent;x-scheme-handler/magnet' ] 283 MAGNET: [ 'application/x-bittorrent;x-scheme-handler/magnet' ]
284 }, 284 },
285 MAX_RECURSION_COMMENTS: 100, 285 MAX_RECURSION_COMMENTS: 100,
286 ACTOR_REFRESH_INTERVAL: 3600 * 24 // 1 day 286 ACTOR_REFRESH_INTERVAL: 3600 * 24 * 1000 // 1 day
287} 287}
288 288
289const ACTIVITY_PUB_ACTOR_TYPES: { [ id: string ]: ActivityPubActorType } = { 289const ACTIVITY_PUB_ACTOR_TYPES: { [ id: string ]: ActivityPubActorType } = {
@@ -355,7 +355,7 @@ if (isTestInstance() === true) {
355 REMOTE_SCHEME.WS = 'ws' 355 REMOTE_SCHEME.WS = 'ws'
356 STATIC_MAX_AGE = '0' 356 STATIC_MAX_AGE = '0'
357 ACTIVITY_PUB.COLLECTION_ITEMS_PER_PAGE = 2 357 ACTIVITY_PUB.COLLECTION_ITEMS_PER_PAGE = 2
358 ACTIVITY_PUB.ACTOR_REFRESH_INTERVAL = 60 // 1 minute 358 ACTIVITY_PUB.ACTOR_REFRESH_INTERVAL = 10 * 1000 // 10 seconds
359 CONSTRAINTS_FIELDS.ACTORS.AVATAR.FILE_SIZE.max = 100 * 1024 // 100KB 359 CONSTRAINTS_FIELDS.ACTORS.AVATAR.FILE_SIZE.max = 100 * 1024 // 100KB
360 SCHEDULER_INTERVAL = 10000 360 SCHEDULER_INTERVAL = 10000
361} 361}