diff options
author | Chocobozzz <me@florianbigard.com> | 2021-03-03 10:10:55 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-03-03 10:10:55 +0100 |
commit | dcd75f786c42b4cc2049b17d535b3de3b7702fbc (patch) | |
tree | d2bb3339bf6e22b7585cd0a696c209c534d0cb2b /server/initializers | |
parent | 67bd004d843d29576f24c21437a33e1334ccb765 (diff) | |
download | PeerTube-dcd75f786c42b4cc2049b17d535b3de3b7702fbc.tar.gz PeerTube-dcd75f786c42b4cc2049b17d535b3de3b7702fbc.tar.zst PeerTube-dcd75f786c42b4cc2049b17d535b3de3b7702fbc.zip |
Rename request timeout
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index efbc628e7..6aaef3aa2 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -197,7 +197,7 @@ const JOB_PRIORITY = { | |||
197 | const BROADCAST_CONCURRENCY = 30 // 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 REQUEST_TIMEOUT = 7000 // 7 seconds |
201 | const JOB_COMPLETED_LIFETIME = 60000 * 60 * 24 * 2 // 2 days | 201 | const JOB_COMPLETED_LIFETIME = 60000 * 60 * 24 * 2 // 2 days |
202 | const VIDEO_IMPORT_TIMEOUT = 1000 * 3600 // 1 hour | 202 | const VIDEO_IMPORT_TIMEOUT = 1000 * 3600 // 1 hour |
203 | 203 | ||
@@ -869,7 +869,7 @@ export { | |||
869 | ABUSE_STATES, | 869 | ABUSE_STATES, |
870 | VIDEO_CHANNELS, | 870 | VIDEO_CHANNELS, |
871 | LRU_CACHE, | 871 | LRU_CACHE, |
872 | JOB_REQUEST_TIMEOUT, | 872 | REQUEST_TIMEOUT, |
873 | USER_PASSWORD_RESET_LIFETIME, | 873 | USER_PASSWORD_RESET_LIFETIME, |
874 | USER_PASSWORD_CREATE_LIFETIME, | 874 | USER_PASSWORD_CREATE_LIFETIME, |
875 | MEMOIZE_TTL, | 875 | MEMOIZE_TTL, |