Skip to content

Commit

Permalink
disable requestTimeout and headerTimeout as we run behind a reverse p…
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Bladen-Clark authored and maxcbc committed Oct 17, 2023
1 parent bd4177d commit 82d21f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ const pino = require('./server/lib/pino')

createServer()
.then((server) => {
server.listener.requestTimeout = 0
server.listener.headersTimeout = 0
server.start()
})
.catch(err => {
Expand Down

0 comments on commit 82d21f5

Please sign in to comment.