1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-02 00:38:14 +09:00

Update index.ts

This commit is contained in:
syuilo 2018-04-19 08:28:24 +09:00 committed by GitHub
parent 70a1721460
commit dfb6e717e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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' });
}