mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 23:51:01 -07:00
Set job concurrency to reduce performance issue
This commit is contained in:
parent
56fbfdcdb7
commit
66c25b545a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue