config: set disable_repinning to true by default.

Repinnings happen unexpectedly and just bite people during normal
rollouts. This feature, while useful in some cases, should be enabled by
people that are aware of the consequences.
This commit is contained in:
Hector Sanjuan 2021-07-08 00:40:24 +02:00
parent 46a14f9602
commit aba8e8e892

View File

@ -37,7 +37,7 @@ const (
DefaultPeerWatchInterval = 5 * time.Second
DefaultReplicationFactor = -1
DefaultLeaveOnShutdown = false
DefaultDisableRepinning = false
DefaultDisableRepinning = true
DefaultPeerstoreFile = "peerstore"
DefaultConnMgrHighWater = 400
DefaultConnMgrLowWater = 100