Files
tsnet-proxy/vendor/tailscale.com/tsconst/ping.go
T
2026-10-22 12:27:19 +01:00

17 lines
401 B
Go

// Copyright (c) Tailscale Inc & contributors
// SPDX-License-Identifier: BSD-3-Clause
package tsconst
import "time"
const (
// DefaultPingTimeout is the default time we wait for a pong reply
// before assuming it's never coming.
DefaultPingTimeout = 5 * time.Second
// DefaultPingInterval is the default minimum time
// between pings to an endpoint.
DefaultPingInterval = 5 * time.Second
)