Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
d0e134b5
Commit
d0e134b5
authored
Oct 16, 2019
by
mdj33
Committed by
33cn
Oct 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
close multi download default
parent
0aaf4c11
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
para.go
plugin/consensus/para/para.go
+1
-1
paramultidownload.go
plugin/consensus/para/paramultidownload.go
+1
-1
No files found.
plugin/consensus/para/para.go
View file @
d0e134b5
...
...
@@ -90,7 +90,7 @@ type subConfig struct {
FetchFilterParaTxsClose
bool
`json:"fetchFilterParaTxsClose,omitempty"`
BatchFetchBlockCount
int64
`json:"batchFetchBlockCount,omitempty"`
ParaConsensStartHeight
int64
`json:"paraConsensStartHeight,omitempty"`
MultiDownload
Close
bool
`json:"multiDownloadClose
,omitempty"`
MultiDownload
Open
bool
`json:"multiDownloadOpen
,omitempty"`
MultiDownInvNumPerJob
int64
`json:"multiDownInvNumPerJob,omitempty"`
MultiDownJobBuffNum
uint32
`json:"multiDownJobBuffNum,omitempty"`
MultiDownServerRspTime
uint32
`json:"multiDownServerRspTime,omitempty"`
...
...
plugin/consensus/para/paramultidownload.go
View file @
d0e134b5
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment