Update index.ts

This commit is contained in:
syuilo 2018-04-19 08:28:24 +09:00 committed by GitHub
parent 3a92f3a3ba
commit 1e452854e6

View file

@ -14,6 +14,7 @@ const queue = createQueue({
export function createHttp(data) {
return queue
.create('http', data)
.events(false)
.attempts(8)
.backoff({ delay: 16384, type: 'exponential' });
}