Explorar o código

set batch peerUpdate to true by default

Max Ma hai 1 ano
pai
achega
18d9c1bf64
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      servercfg/serverconf.go

+ 1 - 1
servercfg/serverconf.go

@@ -599,7 +599,7 @@ func GetMetricInterval() string {
 
 // GetBatchPeerUpdate - if batch peer update
 func GetBatchPeerUpdate() bool {
-	enabled := false
+	enabled := true
 	if os.Getenv("PEER_UPDATE_BATCH") != "" {
 		enabled = os.Getenv("PEER_UPDATE_BATCH") == "true"
 	}