From 00b7a0a74266aa6c8282c73ccc0fe96be1c53c8b Mon Sep 17 00:00:00 2001 From: Rongjian Lan Date: Sun, 23 Jun 2019 02:23:03 -0700 Subject: [PATCH] Adjust findpeer interval --- api/service/networkinfo/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/service/networkinfo/service.go b/api/service/networkinfo/service.go index 0435c8dff..f0b51f993 100644 --- a/api/service/networkinfo/service.go +++ b/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