diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-07-01 20:37:26 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-07-01 20:37:26 +0900 |
| commit | ed0070c470b9371378501a47c8cf304bf796c4da (patch) | |
| tree | be4c087238aec79073bb1d9219e4686f2234481f /src/queue | |
| parent | Simplify log domain (diff) | |
| download | sharkey-ed0070c470b9371378501a47c8cf304bf796c4da.tar.gz sharkey-ed0070c470b9371378501a47c8cf304bf796c4da.tar.bz2 sharkey-ed0070c470b9371378501a47c8cf304bf796c4da.zip | |
Set job concurrency to reduce performance issue
Diffstat (limited to 'src/queue')
| -rw-r--r-- | src/queue/processors/object-storage/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue/processors/object-storage/index.ts b/src/queue/processors/object-storage/index.ts index f2fc08f1ab..60f732ca64 100644 --- a/src/queue/processors/object-storage/index.ts +++ b/src/queue/processors/object-storage/index.ts @@ -7,6 +7,6 @@ const jobs = { export default function(q: Bull.Queue) { for (const [k, v] of Object.entries(jobs)) { - q.process(k, v as any); + q.process(k, 16, v as any); } } |