Adjust findpeer interval

pull/1147/head
Rongjian Lan 6 years ago
parent 6e0cb6ac3c
commit 00b7a0a742
  1. 2
      api/service/networkinfo/service.go

@ -46,7 +46,7 @@ var (
const (
waitInRetry = 2 * time.Second
connectionTimeout = 3 * time.Minute
findPeerInterval = 1 * time.Minute
findPeerInterval = 6 * time.Hour
// register to bootnode every ticker
dhtTicker = 6 * time.Hour

Loading…
Cancel
Save