This commit is contained in:
syuilo 2019-03-08 21:30:12 +09:00
parent 58bbff7b86
commit f61d13903a
2 changed files with 6 additions and 2 deletions

View file

@ -1,6 +1,10 @@
ChangeLog ChangeLog
========= =========
unreleased
----------
* 管理画面の各種ジョブ数がおかしい問題を修正
10.92.2 10.92.2
---------- ----------
* 管理画面で各種ジョブ数を一覧できるように * 管理画面で各種ジョブ数を一覧できるように

View file

@ -1,5 +1,5 @@
import define from '../../../define'; import define from '../../../define';
import { deliverQueue } from '../../../../../queue'; import { deliverQueue, inboxQueue } from '../../../../../queue';
export const meta = { export const meta = {
tags: ['admin'], tags: ['admin'],
@ -12,7 +12,7 @@ export const meta = {
export default define(meta, async (ps) => { export default define(meta, async (ps) => {
const deliverJobCounts = await deliverQueue.getJobCounts(); const deliverJobCounts = await deliverQueue.getJobCounts();
const inboxJobCounts = await deliverQueue.getJobCounts(); const inboxJobCounts = await inboxQueue.getJobCounts();
return { return {
deliver: deliverJobCounts, deliver: deliverJobCounts,