Skip to content

Commit

Permalink
Increase default polling period to 10 seconds.
Browse files Browse the repository at this point in the history
This is to get around a race condition with nodejs based servers who
have a default HTTP Keep-Alive of 5 seconds.
  • Loading branch information
Lucian Jones committed Apr 7, 2022
1 parent c074105 commit 041ac0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func GetConfig(configFiles []string) (*Config, error) {
PrivatePort: 8083,
MetricsPort: 9009,
LogLevel: log.DebugLevel,
PollInterval: "5s",
PollInterval: "10s",
MaxRequestsPerQuery: 50,
MaxServiceResponseSize: 1024 * 1024,

Expand Down

0 comments on commit 041ac0d

Please sign in to comment.