parent
0fff2e4f16
commit
ce0d4f77fa
6 changed files with 105 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue