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