Update queue setting
This commit is contained in:
parent
46c258d77a
commit
4f2d52697d
|
@ -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