Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/update/getip.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var ErrIPv6NotSupported = errors.New("IPv6 is not supported on this system")
func tryAndRepeatGettingIP(ctx context.Context, getIPFunc getIPFunc,
logger Logger, version ipversion.IPVersion,
) (ip netip.Addr, err error) {
const tries = 3
const tries = 60
logMessagePrefix := "obtaining " + version.String() + " address"
errs := make([]error, 0, tries)
for try := range tries {
Expand Down