diff --git a/config/opts.go b/config/opts.go index 2161acb..2ac9c64 100644 --- a/config/opts.go +++ b/config/opts.go @@ -27,7 +27,7 @@ type ( } ServiceDiscovery struct { - Timeout time.Duration `long:"shelly.servicediscovery.timeout" env:"SHELLY_SERVICEDISCOVERY_TIMEOUT" description:"mDNS discovery response timeout" default:"20s"` + Timeout time.Duration `long:"shelly.servicediscovery.timeout" env:"SHELLY_SERVICEDISCOVERY_TIMEOUT" description:"mDNS discovery response timeout" default:"15s"` Refresh time.Duration `long:"shelly.servicediscovery.refresh" env:"SHELLY_SERVICEDISCOVERY_REFRESH" description:"mDNS discovery refresh time" default:"15m"` } }