diff options
Diffstat (limited to 'server/initializers/constants.ts')
-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, |