Remove debug code

This commit is contained in:
syuilo 2019-03-10 19:20:25 +09:00
parent 80a2172715
commit 0fff2e4f16
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 2 additions and 8 deletions

View File

@ -21,14 +21,8 @@ export default function() {
const inboxJobCounts = await inboxQueue.getJobCounts(); const inboxJobCounts = await inboxQueue.getJobCounts();
const stats = { const stats = {
deliver: { deliver: deliverJobCounts,
active: Math.floor(Math.random() * 100), inbox: inboxJobCounts
delayed: Math.floor(Math.random() * 1000),
},
inbox: {
active: Math.floor(Math.random() * 100),
delayed: Math.floor(Math.random() * 1000),
}
}; };
ev.emit('queueStats', stats); ev.emit('queueStats', stats);