This commit is contained in:
syuilo 2019-03-12 16:42:56 +09:00
parent 50ad8adb2d
commit ecb00968bc
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -19,11 +19,11 @@ export default function() {
let activeDeliverJobs = 0;
let activeInboxJobs = 0;
deliverQueue.on('active', () => {
deliverQueue.on('global:active', () => {
activeDeliverJobs++;
});
inboxQueue.on('active', () => {
inboxQueue.on('global:active', () => {
activeInboxJobs++;
});