mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-12 13:48:28 +09:00
Update index.ts
This commit is contained in:
parent
70a1721460
commit
dfb6e717e4
@ -14,6 +14,7 @@ const queue = createQueue({
|
|||||||
export function createHttp(data) {
|
export function createHttp(data) {
|
||||||
return queue
|
return queue
|
||||||
.create('http', data)
|
.create('http', data)
|
||||||
|
.events(false)
|
||||||
.attempts(8)
|
.attempts(8)
|
||||||
.backoff({ delay: 16384, type: 'exponential' });
|
.backoff({ delay: 16384, type: 'exponential' });
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user