summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-03-12 16:42:56 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-03-12 16:42:56 +0900
commitecb00968bcbf9e5cd8bb03d09b97909013e342bf (patch)
tree2f5519384d345b5f4113653df518f3711968f703
parentMerge branch 'develop' of https://github.com/syuilo/misskey into develop (diff)
downloadsharkey-ecb00968bcbf9e5cd8bb03d09b97909013e342bf.tar.gz
sharkey-ecb00968bcbf9e5cd8bb03d09b97909013e342bf.tar.bz2
sharkey-ecb00968bcbf9e5cd8bb03d09b97909013e342bf.zip
Fix bug
-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++;
});