Update job queue setting

This commit is contained in:
syuilo 2018-07-26 17:15:00 +09:00
parent f433c61ee4
commit 103354aa9e

View file

@ -20,8 +20,8 @@ const queue = new Queue('misskey', {
export function createHttpJob(data: any) { export function createHttpJob(data: any) {
return queue.createJob(data) return queue.createJob(data)
.retries(4) //.retries(4)
.backoff('exponential', 16384) // 16s //.backoff('exponential', 16384) // 16s
.save(); .save();
} }