mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-15 06:27:34 -07:00
Update job queue setting
This commit is contained in:
parent
f433c61ee4
commit
103354aa9e
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