From 2a6183a56f23943ca4259ff33463e19dd26308fb Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 26 Jul 2018 17:02:34 +0900 Subject: [PATCH] Update job queue settings --- src/queue/index.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/queue/index.ts b/src/queue/index.ts index 6f82d0a8b..2589e026e 100644 --- a/src/queue/index.ts +++ b/src/queue/index.ts @@ -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); }