Skip to content

Commit

Permalink
chore: change DefaultClientMaxIdleTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
arm64v8a committed Oct 24, 2022
1 parent 1d5fc97 commit b54cd22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ const (
DefaultMMDBFilename = "GeoLite2-Country.mmdb"

ServerMaxIdleTimeout = 60 * time.Second
DefaultClientMaxIdleTimeout = 20 * time.Second
DefaultClientKeepAlivePeriod = 8 * time.Second
DefaultClientMaxIdleTimeout = 5 * time.Second
DefaultClientKeepAlivePeriod = 2 * time.Second
)

var rateStringRegexp = regexp.MustCompile(`^(\d+)\s*([KMGT]?)([Bb])ps$`)
Expand Down

0 comments on commit b54cd22

Please sign in to comment.