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

View file

@ -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);