mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 23:03:10 +02:00
Fix bug
This commit is contained in:
parent
50ad8adb2d
commit
ecb00968bc
1 changed files with 2 additions and 2 deletions
|
@ -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++;
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue