1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-01 00:08:24 +09:00

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() {