diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-17 11:35:10 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:52 +0100 |
commit | afffe98839db7ccbfa9fb8b7d1413b97900fdc73 (patch) | |
tree | f0b3cbe58f73e81a5ba4bb31dabd9691994cf2ca /server/initializers/constants.ts | |
parent | 1b3989b0961d22a5a45ad16239e3c3f58f66180c (diff) | |
download | PeerTube-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.ts | 2 |
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 | } |
261 | const JOB_CATEGORIES: { [ id: string ]: JobCategory } = { | 261 | const 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 |
266 | const JOBS_FETCH_LIMIT_PER_CYCLE = { | 266 | const JOBS_FETCH_LIMIT_PER_CYCLE = { |