diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-03-12 16:42:56 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-03-12 16:42:56 +0900 |
| commit | ecb00968bcbf9e5cd8bb03d09b97909013e342bf (patch) | |
| tree | 2f5519384d345b5f4113653df518f3711968f703 /src | |
| parent | Merge branch 'develop' of https://github.com/syuilo/misskey into develop (diff) | |
| download | sharkey-ecb00968bcbf9e5cd8bb03d09b97909013e342bf.tar.gz sharkey-ecb00968bcbf9e5cd8bb03d09b97909013e342bf.tar.bz2 sharkey-ecb00968bcbf9e5cd8bb03d09b97909013e342bf.zip | |
Fix bug
Diffstat (limited to 'src')
| -rw-r--r-- | src/daemons/queue-stats.ts | 4 |
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++; }); |