From 041ac0db831670ecdbaa31bc3f30bb62e2c2bc0a Mon Sep 17 00:00:00 2001 From: Lucian Jones Date: Thu, 7 Apr 2022 15:27:25 +1200 Subject: [PATCH] Increase default polling period to 10 seconds. This is to get around a race condition with nodejs based servers who have a default HTTP Keep-Alive of 5 seconds. --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index bf44e82b..f3861880 100644 --- a/config.go +++ b/config.go @@ -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,