diff options
author | Chocobozzz <me@florianbigard.com> | 2021-03-03 10:09:34 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-03-03 10:09:34 +0100 |
commit | 67bd004d843d29576f24c21437a33e1334ccb765 (patch) | |
tree | 89c58f29e718d1387881a08931b3afb9ece30630 /server | |
parent | 74d249bc1346c7cfaac7ee49bebbebcf2a01f82a (diff) | |
download | PeerTube-67bd004d843d29576f24c21437a33e1334ccb765.tar.gz PeerTube-67bd004d843d29576f24c21437a33e1334ccb765.tar.zst PeerTube-67bd004d843d29576f24c21437a33e1334ccb765.zip |
Increase broadcast concurrency
Diffstat (limited to 'server')
-rw-r--r-- | server/initializers/constants.ts | 2 |
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 | ||
197 | const BROADCAST_CONCURRENCY = 10 // How many requests in parallel we do in activitypub-http-broadcast job | 197 | const BROADCAST_CONCURRENCY = 30 // How many requests in parallel we do in activitypub-http-broadcast job |
198 | const AP_CLEANER_CONCURRENCY = 10 // How many requests in parallel we do in activitypub-cleaner job | 198 | const AP_CLEANER_CONCURRENCY = 10 // How many requests in parallel we do in activitypub-cleaner job |
199 | const CRAWL_REQUEST_CONCURRENCY = 1 // How many requests in parallel to fetch remote data (likes, shares...) | 199 | const CRAWL_REQUEST_CONCURRENCY = 1 // How many requests in parallel to fetch remote data (likes, shares...) |
200 | const JOB_REQUEST_TIMEOUT = 7000 // 7 seconds | 200 | const JOB_REQUEST_TIMEOUT = 7000 // 7 seconds |