diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-23 10:30:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-27 09:41:54 +0200 |
commit | 240085d0056fd97ac3c7fa8fa4ce9bc32afc4d6e (patch) | |
tree | 99879ddce7d4b2970c263cb045c5057ed07354d4 /server/initializers | |
parent | 83e6519ba4ee752dc3148a16c69effbfccb13e6b (diff) | |
download | PeerTube-240085d0056fd97ac3c7fa8fa4ce9bc32afc4d6e.tar.gz PeerTube-240085d0056fd97ac3c7fa8fa4ce9bc32afc4d6e.tar.zst PeerTube-240085d0056fd97ac3c7fa8fa4ce9bc32afc4d6e.zip |
Fix tests
Diffstat (limited to 'server/initializers')
-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 cd709cd3f..46b63c5e9 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -112,7 +112,7 @@ const JOB_TTL: { [ id in JobType ]: number } = { | |||
112 | 'email': 60000 * 10 // 10 minutes | 112 | 'email': 60000 * 10 // 10 minutes |
113 | } | 113 | } |
114 | const BROADCAST_CONCURRENCY = 10 // How many requests in parallel we do in activitypub-http-broadcast job | 114 | const BROADCAST_CONCURRENCY = 10 // How many requests in parallel we do in activitypub-http-broadcast job |
115 | const CRAWL_REQUEST_CONCURRENCY = 5 // How many requests in parallel to fetch remote data (likes, shares...) | 115 | const CRAWL_REQUEST_CONCURRENCY = 1 // How many requests in parallel to fetch remote data (likes, shares...) |
116 | const JOB_REQUEST_TIMEOUT = 3000 // 3 seconds | 116 | const JOB_REQUEST_TIMEOUT = 3000 // 3 seconds |
117 | const JOB_COMPLETED_LIFETIME = 60000 * 60 * 24 * 2 // 2 days | 117 | const JOB_COMPLETED_LIFETIME = 60000 * 60 * 24 * 2 // 2 days |
118 | 118 | ||