Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

Commit

Permalink
Agressive Timeouts (#354)
Browse files Browse the repository at this point in the history
- reset the timeouts to 10s by default as current was too agressive and numerious people were getting hit
- they are still configurable as before
  • Loading branch information
gambol99 authored May 4, 2018
1 parent 662a68b commit 80b2dcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ func newDefaultConfig() *Config {
OpenIDProviderTimeout: 30 * time.Second,
SecureCookie: true,
ServerIdleTimeout: 120 * time.Second,
ServerReadTimeout: 5 * time.Second,
ServerReadTimeout: 10 * time.Second,
ServerWriteTimeout: 10 * time.Second,
SkipOpenIDProviderTLSVerify: false,
SkipUpstreamTLSVerify: true,
Tags: make(map[string]string, 0),
UpstreamExpectContinueTimeout: 10 * time.Second,
UpstreamKeepaliveTimeout: 10 * time.Second,
UpstreamKeepalives: true,
UpstreamResponseHeaderTimeout: 1 * time.Second,
UpstreamResponseHeaderTimeout: 10 * time.Second,
UpstreamTLSHandshakeTimeout: 10 * time.Second,
UpstreamTimeout: 10 * time.Second,
UseLetsEncrypt: false,
Expand Down

0 comments on commit 80b2dcb

Please sign in to comment.