activeなジョブ数のカウント方法を分けた
https://github.com/syuilo/misskey/issues/4470#issuecomment-471827030
This commit is contained in:
parent
0e97fec451
commit
612e3aafbc
2 changed files with 8 additions and 6 deletions
|
@ -33,12 +33,14 @@ export default function() {
|
|||
|
||||
const stats = {
|
||||
deliver: {
|
||||
active: activeDeliverJobs,
|
||||
activeSincePrevTick: activeDeliverJobs,
|
||||
active: deliverJobCounts.active,
|
||||
waiting: deliverJobCounts.waiting,
|
||||
delayed: deliverJobCounts.delayed
|
||||
},
|
||||
inbox: {
|
||||
active: activeInboxJobs,
|
||||
activeSincePrevTick: activeInboxJobs,
|
||||
active: inboxJobCounts.active,
|
||||
waiting: inboxJobCounts.waiting,
|
||||
delayed: inboxJobCounts.delayed
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue