Skip to content

Commit

Permalink
set servicediscovery timeout to 15s
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Blaschke <mblaschke82@gmail.com>
  • Loading branch information
mblaschke committed Oct 7, 2023
1 parent cea81c8 commit c199e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/opts.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}
}
Expand Down

0 comments on commit c199e1a

Please sign in to comment.