aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-26 10:48:12 +0100
committerChocobozzz <me@florianbigard.com>2021-02-26 10:48:12 +0100
commit23ac334389a6b11ba0656a18ff760fb45f7bec57 (patch)
tree55e0fde0bf0917fef97dc29f8ddd9026c20f69f3 /server/initializers/constants.ts
parent543442a3be9d7740749eb3918dc59f502ff042f9 (diff)
downloadPeerTube-23ac334389a6b11ba0656a18ff760fb45f7bec57.tar.gz
PeerTube-23ac334389a6b11ba0656a18ff760fb45f7bec57.tar.zst
PeerTube-23ac334389a6b11ba0656a18ff760fb45f7bec57.zip
Increase jobs request timeout
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 80f6425ce..bbf55d7a4 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -186,7 +186,7 @@ const JOB_PRIORITY = {
186 186
187const BROADCAST_CONCURRENCY = 10 // How many requests in parallel we do in activitypub-http-broadcast job 187const BROADCAST_CONCURRENCY = 10 // How many requests in parallel we do in activitypub-http-broadcast job
188const CRAWL_REQUEST_CONCURRENCY = 1 // How many requests in parallel to fetch remote data (likes, shares...) 188const CRAWL_REQUEST_CONCURRENCY = 1 // How many requests in parallel to fetch remote data (likes, shares...)
189const JOB_REQUEST_TIMEOUT = 3000 // 3 seconds 189const JOB_REQUEST_TIMEOUT = 7000 // 7 seconds
190const JOB_COMPLETED_LIFETIME = 60000 * 60 * 24 * 2 // 2 days 190const JOB_COMPLETED_LIFETIME = 60000 * 60 * 24 * 2 // 2 days
191const VIDEO_IMPORT_TIMEOUT = 1000 * 3600 // 1 hour 191const VIDEO_IMPORT_TIMEOUT = 1000 * 3600 // 1 hour
192 192