Reduce wait time for bootnode connection to 30s

pull/1815/head
Rongjian Lan 5 years ago
parent 98532249b4
commit 812bbcda5c
  1. 4
      api/service/networkinfo/service.go

@ -41,8 +41,8 @@ type Service struct {
// ConnectionRetry set the number of retry of connection to bootnode in case the initial connection is failed
var (
// retry for 1 minutes and give up then
ConnectionRetry = 30
// retry for 30s and give up then
ConnectionRetry = 15
// context
ctx context.Context

Loading…
Cancel
Save