increase exchange ShufflePeersPrefix to 16, use that as the value of concurrent sync requests

This commit is contained in:
vyzo
2020-09-17 18:07:01 +03:00
parent 8a4b629f40
commit 2a428f09e6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ const (
WriteReqDeadline = 5 * time.Second
ReadResDeadline = WriteReqDeadline
ReadResMinSpeed = 50 << 10
ShufflePeersPrefix = 5
ShufflePeersPrefix = 16
WriteResDeadline = 60 * time.Second
)
+1 -1
View File
@@ -64,7 +64,7 @@ var (
log = logging.Logger("chain")
concurrentSyncRequests = 16
concurrentSyncRequests = exchange.ShufflePeersPrefix
syncRequestBatchSize = 8
syncRequestRetries = 5
)