summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/daemons/queue-stats.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemons/queue-stats.ts b/src/daemons/queue-stats.ts
index a233198610..8c879c4ef0 100644
--- a/src/daemons/queue-stats.ts
+++ b/src/daemons/queue-stats.ts
@@ -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++;
});