mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 02:33:09 +02:00
Update job queue setting
This commit is contained in:
parent
dddd760efd
commit
ac07f04ad8
1 changed files with 2 additions and 2 deletions
|
@ -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