1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-02 00:38:31 +09:00

Update job queue settings

This commit is contained in:
syuilo 2018-07-26 17:02:34 +09:00
parent 93786aa510
commit e1e1cd0574

View File

@ -12,7 +12,10 @@ const queue = new Queue('misskey', {
},
removeOnSuccess: true,
removeOnFailure: true
removeOnFailure: true,
getEvents: false,
sendEvents: false,
storeJobs: false
});
export function createHttpJob(data: any) {
@ -32,5 +35,5 @@ export function deliver(user: ILocalUser, content: any, to: any) {
}
export default function() {
queue.process(8, http);
queue.process(128, http);
}