mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Fix redundancy timeout
This commit is contained in:
parent
c5e53d0e39
commit
4c99953acd
4 changed files with 14 additions and 8 deletions
|
@ -202,7 +202,12 @@ const JOB_PRIORITY = {
|
|||
const BROADCAST_CONCURRENCY = 30 // How many requests in parallel we do in activitypub-http-broadcast job
|
||||
const AP_CLEANER_CONCURRENCY = 10 // How many requests in parallel we do in activitypub-cleaner job
|
||||
const CRAWL_REQUEST_CONCURRENCY = 1 // How many requests in parallel to fetch remote data (likes, shares...)
|
||||
const REQUEST_TIMEOUT = 7000 // 7 seconds
|
||||
const REQUEST_TIMEOUTS = {
|
||||
DEFAULT: 7000, // 7 seconds
|
||||
FILE: 30000, // 30 seconds
|
||||
REDUNDANCY: JOB_TTL['video-redundancy']
|
||||
}
|
||||
|
||||
const JOB_COMPLETED_LIFETIME = 60000 * 60 * 24 * 2 // 2 days
|
||||
const VIDEO_IMPORT_TIMEOUT = 1000 * 3600 // 1 hour
|
||||
|
||||
|
@ -896,7 +901,7 @@ export {
|
|||
FFMPEG_NICE,
|
||||
ABUSE_STATES,
|
||||
LRU_CACHE,
|
||||
REQUEST_TIMEOUT,
|
||||
REQUEST_TIMEOUTS,
|
||||
USER_PASSWORD_RESET_LIFETIME,
|
||||
USER_PASSWORD_CREATE_LIFETIME,
|
||||
MEMOIZE_TTL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue