summaryrefslogtreecommitdiff
path: root/src/queue/processors/http/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/queue/processors/http/index.ts')
-rw-r--r--src/queue/processors/http/index.ts19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/queue/processors/http/index.ts b/src/queue/processors/http/index.ts
deleted file mode 100644
index 74ed723bd3..0000000000
--- a/src/queue/processors/http/index.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-import deliver from './deliver';
-import processInbox from './process-inbox';
-import { queueLogger } from '../..';
-
-const handlers: any = {
- deliver,
- processInbox,
-};
-
-export default (job: any, done: any) => {
- const handler = handlers[job.data.type];
-
- if (handler) {
- handler(job, done);
- } else {
- queueLogger.error(`Unknown job: ${job.data.type}`);
- done();
- }
-};