diff options
Diffstat (limited to 'src/queue/processors/system/index.ts')
| -rw-r--r-- | src/queue/processors/system/index.ts | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/queue/processors/system/index.ts b/src/queue/processors/system/index.ts deleted file mode 100644 index 52b7868105..0000000000 --- a/src/queue/processors/system/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -import * as Bull from 'bull'; -import { resyncCharts } from './resync-charts'; - -const jobs = { - resyncCharts, -} as Record<string, Bull.ProcessCallbackFunction<{}> | Bull.ProcessPromiseFunction<{}>>; - -export default function(dbQueue: Bull.Queue<{}>) { - for (const [k, v] of Object.entries(jobs)) { - dbQueue.process(k, v); - } -} |