File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ import (
18
18
)
19
19
20
20
const (
21
- defaultDialTimeout = 10 * time .Second
22
- refreshPeersInterval = 30 * time .Second
23
- trustedPeerCheckInterval = 15 * time .Second
21
+ defaultDialTimeout = 10 * time .Second
22
+ refreshPeersInterval = 30 * time .Second
23
+ staticPeerCheckInterval = 15 * time .Second
24
24
25
25
// This is the maximum number of inbound connection
26
26
// that are allowed to linger between 'accepted' and
@@ -345,7 +345,7 @@ func (srv *Server) listenLoop() {
345
345
// staticNodesLoop is responsible for periodically checking that static
346
346
// connections are actually live, and requests dialing if not.
347
347
func (srv * Server ) staticNodesLoop () {
348
- tick := time .Tick (trustedPeerCheckInterval )
348
+ tick := time .Tick (staticPeerCheckInterval )
349
349
for {
350
350
select {
351
351
case <- srv .quit :
You can’t perform that action at this time.
0 commit comments