Commit d0e134b5 authored by mdj33's avatar mdj33 Committed by 33cn

close multi download default

parent 0aaf4c11
......@@ -90,7 +90,7 @@ type subConfig struct {
FetchFilterParaTxsClose bool `json:"fetchFilterParaTxsClose,omitempty"`
BatchFetchBlockCount int64 `json:"batchFetchBlockCount,omitempty"`
ParaConsensStartHeight int64 `json:"paraConsensStartHeight,omitempty"`
MultiDownloadClose bool `json:"multiDownloadClose,omitempty"`
MultiDownloadOpen bool `json:"multiDownloadOpen,omitempty"`
MultiDownInvNumPerJob int64 `json:"multiDownInvNumPerJob,omitempty"`
MultiDownJobBuffNum uint32 `json:"multiDownJobBuffNum,omitempty"`
MultiDownServerRspTime uint32 `json:"multiDownServerRspTime,omitempty"`
......
......@@ -156,7 +156,7 @@ func (m *multiDldClient) getConns(inv *inventory) error {
}
func (m *multiDldClient) tryMultiServerDownload() {
if m.paraClient.subCfg.MultiDownloadClose {
if !m.paraClient.subCfg.MultiDownloadOpen {
return
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment