aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-17 11:35:10 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:52 +0100
commitafffe98839db7ccbfa9fb8b7d1413b97900fdc73 (patch)
treef0b3cbe58f73e81a5ba4bb31dabd9691994cf2ca /server/initializers/constants.ts
parent1b3989b0961d22a5a45ad16239e3c3f58f66180c (diff)
downloadPeerTube-afffe98839db7ccbfa9fb8b7d1413b97900fdc73.tar.gz
PeerTube-afffe98839db7ccbfa9fb8b7d1413b97900fdc73.tar.zst
PeerTube-afffe98839db7ccbfa9fb8b7d1413b97900fdc73.zip
Speed up activity pub http requests
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index f0a569410..48d7b5b98 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -260,7 +260,7 @@ const JOB_STATES: { [ id: string ]: JobState } = {
260} 260}
261const JOB_CATEGORIES: { [ id: string ]: JobCategory } = { 261const JOB_CATEGORIES: { [ id: string ]: JobCategory } = {
262 TRANSCODING: 'transcoding', 262 TRANSCODING: 'transcoding',
263 HTTP_REQUEST: 'http-request' 263 ACTIVITYPUB_HTTP: 'activitypub-http'
264} 264}
265// How many maximum jobs we fetch from the database per cycle 265// How many maximum jobs we fetch from the database per cycle
266const JOBS_FETCH_LIMIT_PER_CYCLE = { 266const JOBS_FETCH_LIMIT_PER_CYCLE = {