diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-06 17:13:39 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-08 09:30:31 +0200 |
commit | ce33919c24e7402d92d81f3cd8e545df52d98240 (patch) | |
tree | 7e131a2f8df649899d0a71294665cf386ffb50d4 /server/lib/job-queue/job-queue.ts | |
parent | 788487140c500abeb69ca44daf3a9e26efa8d36f (diff) | |
download | PeerTube-ce33919c24e7402d92d81f3cd8e545df52d98240.tar.gz PeerTube-ce33919c24e7402d92d81f3cd8e545df52d98240.tar.zst PeerTube-ce33919c24e7402d92d81f3cd8e545df52d98240.zip |
Import magnets with webtorrent
Diffstat (limited to 'server/lib/job-queue/job-queue.ts')
-rw-r--r-- | server/lib/job-queue/job-queue.ts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/server/lib/job-queue/job-queue.ts b/server/lib/job-queue/job-queue.ts index 8a24604e1..ddb357db5 100644 --- a/server/lib/job-queue/job-queue.ts +++ b/server/lib/job-queue/job-queue.ts | |||
@@ -32,13 +32,6 @@ const handlers: { [ id in JobType ]: (job: Bull.Job) => Promise<any>} = { | |||
32 | 'video-import': processVideoImport | 32 | 'video-import': processVideoImport |
33 | } | 33 | } |
34 | 34 | ||
35 | const jobsWithRequestTimeout: { [ id in JobType ]?: boolean } = { | ||
36 | 'activitypub-http-broadcast': true, | ||
37 | 'activitypub-http-unicast': true, | ||
38 | 'activitypub-http-fetcher': true, | ||
39 | 'activitypub-follow': true | ||
40 | } | ||
41 | |||
42 | const jobTypes: JobType[] = [ | 35 | const jobTypes: JobType[] = [ |
43 | 'activitypub-follow', | 36 | 'activitypub-follow', |
44 | 'activitypub-http-broadcast', | 37 | 'activitypub-http-broadcast', |