diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-11-12 02:02:25 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-11-12 02:02:25 +0900 |
| commit | 0e4a111f81cceed275d9bec2695f6e401fb654d8 (patch) | |
| tree | 40874799472fa07416f17b50a398ac33b7771905 /src/queue/processors/system/index.ts | |
| parent | update deps (diff) | |
| download | sharkey-0e4a111f81cceed275d9bec2695f6e401fb654d8.tar.gz sharkey-0e4a111f81cceed275d9bec2695f6e401fb654d8.tar.bz2 sharkey-0e4a111f81cceed275d9bec2695f6e401fb654d8.zip | |
refactoring
Resolve #7779
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); - } -} |