aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index ffcbe69b8..5ee13389d 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -77,6 +77,7 @@ const JOB_CONCURRENCY: { [ id in JobType ]: number } = {
77 'video-file': 1, 77 'video-file': 1,
78 'email': 5 78 'email': 5
79} 79}
80const BROADCAST_CONCURRENCY = 5 // How many requests in parallel we do in activitypub-http-broadcast job
80// 2 days 81// 2 days
81const JOB_COMPLETED_LIFETIME = 60000 * 60 * 24 * 2 82const JOB_COMPLETED_LIFETIME = 60000 * 60 * 24 * 2
82 83
@@ -463,6 +464,7 @@ export {
463 LAST_MIGRATION_VERSION, 464 LAST_MIGRATION_VERSION,
464 OAUTH_LIFETIME, 465 OAUTH_LIFETIME,
465 OPENGRAPH_AND_OEMBED_COMMENT, 466 OPENGRAPH_AND_OEMBED_COMMENT,
467 BROADCAST_CONCURRENCY,
466 PAGINATION_COUNT_DEFAULT, 468 PAGINATION_COUNT_DEFAULT,
467 ACTOR_FOLLOW_SCORE, 469 ACTOR_FOLLOW_SCORE,
468 PREVIEWS_SIZE, 470 PREVIEWS_SIZE,