Browse Source

set batch peerUpdate to true by default

Max Ma 1 năm trước cách đây
mục cha
commit
18d9c1bf64
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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"
 	}