aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-03-03 10:09:34 +0100
committerChocobozzz <me@florianbigard.com>2021-03-03 10:09:34 +0100
commit67bd004d843d29576f24c21437a33e1334ccb765 (patch)
tree89c58f29e718d1387881a08931b3afb9ece30630 /server/initializers/constants.ts
parent74d249bc1346c7cfaac7ee49bebbebcf2a01f82a (diff)
downloadPeerTube-67bd004d843d29576f24c21437a33e1334ccb765.tar.gz
PeerTube-67bd004d843d29576f24c21437a33e1334ccb765.tar.zst
PeerTube-67bd004d843d29576f24c21437a33e1334ccb765.zip
Increase broadcast concurrency
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 083a29889..efbc628e7 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -194,7 +194,7 @@ const JOB_PRIORITY = {
194 } 194 }
195} 195}
196 196
197const BROADCAST_CONCURRENCY = 10 // How many requests in parallel we do in activitypub-http-broadcast job 197const BROADCAST_CONCURRENCY = 30 // How many requests in parallel we do in activitypub-http-broadcast job
198const AP_CLEANER_CONCURRENCY = 10 // How many requests in parallel we do in activitypub-cleaner job 198const AP_CLEANER_CONCURRENCY = 10 // How many requests in parallel we do in activitypub-cleaner job
199const CRAWL_REQUEST_CONCURRENCY = 1 // How many requests in parallel to fetch remote data (likes, shares...) 199const CRAWL_REQUEST_CONCURRENCY = 1 // How many requests in parallel to fetch remote data (likes, shares...)
200const JOB_REQUEST_TIMEOUT = 7000 // 7 seconds 200const JOB_REQUEST_TIMEOUT = 7000 // 7 seconds