Reduce wait time for bootnode connection to 1 min

pull/1815/head
Rongjian Lan 5 years ago
parent 71bbb147d3
commit 98532249b4
  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 10 minutes and give up then
ConnectionRetry = 300
// retry for 1 minutes and give up then
ConnectionRetry = 30
// context
ctx context.Context

Loading…
Cancel
Save