forked from mirrors/misskey
Remove debug code
This commit is contained in:
parent
80a2172715
commit
0fff2e4f16
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue