mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-11 08:01:03 -07:00
Update queue setting
This commit is contained in:
parent
b86e77bbfb
commit
d71ed77019
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ function initializeQueue() {
|
|||
export function createHttpJob(data: any) {
|
||||
if (queueAvailable) {
|
||||
return queue.createJob(data)
|
||||
.retries(4)
|
||||
.backoff('exponential', 16384) // 16s
|
||||
.retries(3)
|
||||
.backoff('exponential', 1000)
|
||||
.save();
|
||||
} else {
|
||||
return handler({ data }, () => {});
|
||||
|
|
Loading…
Reference in a new issue