Skip to content

Commit

Permalink
Merge pull request #686 from nyaruka/idle_timeout
Browse files Browse the repository at this point in the history
Set server idle timeout to 90 seconds
  • Loading branch information
rowanseymour authored Nov 7, 2022
2 parents 59948e6 + 8b7cd63 commit d5b6b08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ func NewServer(ctx context.Context, rt *runtime.Runtime, wg *sync.WaitGroup) *Se
Handler: router,
ReadTimeout: 30 * time.Second,
WriteTimeout: 30 * time.Second,
IdleTimeout: 90 * time.Second,
}

return s
Expand Down

0 comments on commit d5b6b08

Please sign in to comment.