Update job queue setting
This commit is contained in:
parent
dddd760efd
commit
ac07f04ad8
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue