OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a24d9d6
)
fk
author
HAOYUatHZ
<haoyu@protonmail.com>
Mon, 19 Aug 2019 07:42:08 +0000
(15:42 +0800)
committer
HAOYUatHZ
<haoyu@protonmail.com>
Mon, 19 Aug 2019 07:42:08 +0000
(15:42 +0800)
toolbar/precog/monitor/connection.go
patch
|
blob
|
history
diff --git
a/toolbar/precog/monitor/connection.go
b/toolbar/precog/monitor/connection.go
index
5d067e9
..
366cbd8
100644
(file)
--- a/
toolbar/precog/monitor/connection.go
+++ b/
toolbar/precog/monitor/connection.go
@@
-11,7
+11,7
@@
import (
func (m *monitor) connectNodesRoutine() {
// TODO: change name?
- ticker := time.NewTicker(time.Duration(m.cfg.CheckFreqSeconds) * time.Second)
+ ticker := time.NewTicker(time.Duration(m.cfg.CheckFreqSeconds
*2
) * time.Second)
for ; true; <-ticker.C {
if err := m.dialNodes(); err != nil {
log.Error(err)