From fc9435428342bde67729ace969585f0459ef353e Mon Sep 17 00:00:00 2001 From: Jacky Wang Date: Mon, 7 Feb 2022 21:46:23 -0800 Subject: [PATCH] [stream] change default values --- cmd/harmony/config.go | 2 +- cmd/harmony/default.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/harmony/config.go b/cmd/harmony/config.go index df6c2a131..3728c6501 100644 --- a/cmd/harmony/config.go +++ b/cmd/harmony/config.go @@ -95,7 +95,7 @@ func getDefaultDNSSyncConfig(nt nodeconfig.NetworkType) harmonyconfig.DnsSync { dnsSync.Client = true case nodeconfig.Localnet: dnsSync.Server = true - dnsSync.Client = true + dnsSync.Client = false default: dnsSync.Server = true dnsSync.Client = false diff --git a/cmd/harmony/default.go b/cmd/harmony/default.go index 1ceeb3f4c..cab19807d 100644 --- a/cmd/harmony/default.go +++ b/cmd/harmony/default.go @@ -150,7 +150,7 @@ var ( defaultLocalNetSyncConfig = harmonyconfig.SyncConfig{ Enabled: true, - Downloader: false, + Downloader: true, Concurrency: 4, MinPeers: 4, InitStreams: 4,