Fix bug
This commit is contained in:
parent
50ad8adb2d
commit
ecb00968bc
|
@ -19,11 +19,11 @@ export default function() {
|
||||||
let activeDeliverJobs = 0;
|
let activeDeliverJobs = 0;
|
||||||
let activeInboxJobs = 0;
|
let activeInboxJobs = 0;
|
||||||
|
|
||||||
deliverQueue.on('active', () => {
|
deliverQueue.on('global:active', () => {
|
||||||
activeDeliverJobs++;
|
activeDeliverJobs++;
|
||||||
});
|
});
|
||||||
|
|
||||||
inboxQueue.on('active', () => {
|
inboxQueue.on('global:active', () => {
|
||||||
activeInboxJobs++;
|
activeInboxJobs++;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue