Skip to content

Commit

Permalink
[sync] half the batch size of downloading a block (#3745)
Browse files Browse the repository at this point in the history
  • Loading branch information
JackyWYX authored Jun 9, 2021
1 parent 237ce07 commit 720aa23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/service/legacysync/syncing.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const (
NumPeersLowBound = 3
numPeersHighBound = 5

downloadTaskBatch = 30
downloadTaskBatch = 15
)

// SyncPeerConfig is peer config to sync.
Expand Down

0 comments on commit 720aa23

Please sign in to comment.