Skip to content

Commit

Permalink
fix: set default timeout to 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlup committed Nov 6, 2020
1 parent 902b692 commit 6777bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function plugin (fastify, opts, next) {
onClose: onClose.bind(fastify),
onTimeout: onTimeout.bind(fastify),
onError: onError.bind(fastify),
timeout: 2000,
timeout: 1e4,
strict: true
}
const config = Object.assign({}, DEFAULTS, opts)
Expand Down

0 comments on commit 6777bb0

Please sign in to comment.