Update
This commit is contained in:
1 parent
3530afb854
commit
6903fcff27
2146 files changed
+112256
-190703
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
// 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
|
||||
)
|
||||
Reference in new issue
Block a user