summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2018-04-19 08:28:24 +0900
committerGitHub <noreply@github.com>2018-04-19 08:28:24 +0900
commitdfb6e717e438ee95b924b3bc503c3d3674f6fdd6 (patch)
tree9fb9b7350419507acb409c9dfec8781130de9db4 /src
parentFix design (diff)
downloadsharkey-dfb6e717e438ee95b924b3bc503c3d3674f6fdd6.tar.gz
sharkey-dfb6e717e438ee95b924b3bc503c3d3674f6fdd6.tar.bz2
sharkey-dfb6e717e438ee95b924b3bc503c3d3674f6fdd6.zip
Update index.ts
Diffstat (limited to 'src')
-rw-r--r--src/queue/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/queue/index.ts b/src/queue/index.ts
index 88e475dd5d..fd973b077e 100644
--- a/src/queue/index.ts
+++ b/src/queue/index.ts
@@ -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' });
}