リストのエクスポートをできるように

#4259
This commit is contained in:
syuilo
2019-03-11 09:59:07 +09:00
parent 0fff2e4f16
commit ce0d4f77fa
6 changed files with 105 additions and 0 deletions

View File

@@ -136,6 +136,15 @@ export function createExportBlockingJob(user: ILocalUser) {
});
}
export function createExportUserListsJob(user: ILocalUser) {
return dbQueue.add('exportUserLists', {
user: user
}, {
removeOnComplete: true,
removeOnFail: true
});
}
export default function() {
if (!program.onlyServer) {
deliverQueue.process(128, processDeliver);