summaryrefslogtreecommitdiff
path: root/src/queue
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-07-26 17:02:34 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-07-26 17:02:34 +0900
commite1e1cd057478b7931ca1dfe481d09a49bd262622 (patch)
tree84805388c4ac49a58454bfc56d94de1dd25790c2 /src/queue
parentMerge branch 'master' of https://github.com/syuilo/misskey (diff)
downloadsharkey-e1e1cd057478b7931ca1dfe481d09a49bd262622.tar.gz
sharkey-e1e1cd057478b7931ca1dfe481d09a49bd262622.tar.bz2
sharkey-e1e1cd057478b7931ca1dfe481d09a49bd262622.zip
Update job queue settings
Diffstat (limited to 'src/queue')
-rw-r--r--src/queue/index.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/queue/index.ts b/src/queue/index.ts
index 6f82d0a8b5..2589e026e1 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);
}