Merge pull request #1262 from chaosma/r3

increase number of min peers in state syncing from 5 to 10
pull/1265/head
chaosma 5 years ago committed by GitHub
commit 533f8bbd12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      node/node_syncing.go

@ -28,7 +28,7 @@ const (
lastMileThreshold = 4 lastMileThreshold = 4
inSyncThreshold = 1 // unit in number of block inSyncThreshold = 1 // unit in number of block
SyncFrequency = 10 // unit in second SyncFrequency = 10 // unit in second
MinConnectedPeers = 5 // minimum number of peers connected to in node syncing MinConnectedPeers = 10 // minimum number of peers connected to in node syncing
) )
// getNeighborPeers is a helper function to return list of peers // getNeighborPeers is a helper function to return list of peers

Loading…
Cancel
Save