diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-03-10 19:20:25 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-03-10 19:20:25 +0900 |
| commit | 0fff2e4f16e8956321b6a0e54ca8b0fe31ccff07 (patch) | |
| tree | 13a5adf4aa944a8d19c6f125d5b65e8c12ff26f8 /src/daemons | |
| parent | Resolve #4462 (diff) | |
| download | sharkey-0fff2e4f16e8956321b6a0e54ca8b0fe31ccff07.tar.gz sharkey-0fff2e4f16e8956321b6a0e54ca8b0fe31ccff07.tar.bz2 sharkey-0fff2e4f16e8956321b6a0e54ca8b0fe31ccff07.zip | |
Remove debug code
Diffstat (limited to 'src/daemons')
| -rw-r--r-- | src/daemons/queue-stats.ts | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/daemons/queue-stats.ts b/src/daemons/queue-stats.ts index 26f2bf7c03..41babb1c88 100644 --- a/src/daemons/queue-stats.ts +++ b/src/daemons/queue-stats.ts @@ -21,14 +21,8 @@ export default function() { const inboxJobCounts = await inboxQueue.getJobCounts(); const stats = { - deliver: { - active: Math.floor(Math.random() * 100), - delayed: Math.floor(Math.random() * 1000), - }, - inbox: { - active: Math.floor(Math.random() * 100), - delayed: Math.floor(Math.random() * 1000), - } + deliver: deliverJobCounts, + inbox: inboxJobCounts }; ev.emit('queueStats', stats); |