summaryrefslogtreecommitdiff
path: root/src/queue/processors/object-storage/index.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-07-01 21:12:14 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-07-01 21:12:14 +0900
commit03e999875a7678c0e5293b87397ab67040010eeb (patch)
tree6451269e48a08baf562e6e57909df33ae95b708a /src/queue/processors/object-storage/index.ts
parentSet job concurrency to reduce performance issue (diff)
downloadsharkey-03e999875a7678c0e5293b87397ab67040010eeb.tar.gz
sharkey-03e999875a7678c0e5293b87397ab67040010eeb.tar.bz2
sharkey-03e999875a7678c0e5293b87397ab67040010eeb.zip
リモートファイルの削除が重い問題を修正
Diffstat (limited to 'src/queue/processors/object-storage/index.ts')
-rw-r--r--src/queue/processors/object-storage/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/queue/processors/object-storage/index.ts b/src/queue/processors/object-storage/index.ts
index 60f732ca64..33ef665b38 100644
--- a/src/queue/processors/object-storage/index.ts
+++ b/src/queue/processors/object-storage/index.ts
@@ -1,8 +1,10 @@
import * as Bull from 'bull';
import deleteFile from './delete-file';
+import cleanRemoteFiles from './clean-remote-files';
const jobs = {
deleteFile,
+ cleanRemoteFiles,
} as any;
export default function(q: Bull.Queue) {