fix(server): system queueが動いていないのを修正

Fix #8272
This commit is contained in:
syuilo 2022-02-08 22:18:24 +09:00
parent aa7ab1c1e0
commit c9bf8330de

View file

@ -7,6 +7,7 @@ import processDeliver from './processors/deliver';
import processInbox from './processors/inbox'; import processInbox from './processors/inbox';
import processDb from './processors/db/index'; import processDb from './processors/db/index';
import procesObjectStorage from './processors/object-storage/index'; import procesObjectStorage from './processors/object-storage/index';
import processSystemQueue from './processors/system/index';
import { queueLogger } from './logger'; import { queueLogger } from './logger';
import { DriveFile } from '@/models/entities/drive-file'; import { DriveFile } from '@/models/entities/drive-file';
import { getJobInfo } from './get-job-info'; import { getJobInfo } from './get-job-info';
@ -266,6 +267,8 @@ export default function() {
}, { }, {
repeat: { cron: '0 0 * * *' }, repeat: { cron: '0 0 * * *' },
}); });
processSystemQueue(systemQueue);
} }
export function destroy() { export function destroy() {