increase exchange ShufflePeersPrefix to 16, use that as the value of concurrent sync requests
This commit is contained in:
parent
8a4b629f40
commit
2a428f09e6
@ -40,7 +40,7 @@ const (
|
|||||||
WriteReqDeadline = 5 * time.Second
|
WriteReqDeadline = 5 * time.Second
|
||||||
ReadResDeadline = WriteReqDeadline
|
ReadResDeadline = WriteReqDeadline
|
||||||
ReadResMinSpeed = 50 << 10
|
ReadResMinSpeed = 50 << 10
|
||||||
ShufflePeersPrefix = 5
|
ShufflePeersPrefix = 16
|
||||||
WriteResDeadline = 60 * time.Second
|
WriteResDeadline = 60 * time.Second
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ var (
|
|||||||
|
|
||||||
log = logging.Logger("chain")
|
log = logging.Logger("chain")
|
||||||
|
|
||||||
concurrentSyncRequests = 16
|
concurrentSyncRequests = exchange.ShufflePeersPrefix
|
||||||
syncRequestBatchSize = 8
|
syncRequestBatchSize = 8
|
||||||
syncRequestRetries = 5
|
syncRequestRetries = 5
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user