mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 11:41:19 +00:00
torrent: reduce network packet size, to increase network responsiveness (#4910)
This commit is contained in:
parent
311d18ae92
commit
db0c4e9d41
@ -20,8 +20,7 @@ const DefaultPieceSize = 2 * 1024 * 1024
|
||||
|
||||
// DefaultNetworkChunkSize - how much data request per 1 network call to peer.
|
||||
// default: 16Kb
|
||||
// TODO: can we increase this value together with --torrent.upload.rate ?
|
||||
const DefaultNetworkChunkSize = DefaultPieceSize
|
||||
const DefaultNetworkChunkSize = 1 * 1024 * 1024
|
||||
|
||||
type Cfg struct {
|
||||
*torrent.ClientConfig
|
||||
|
Loading…
Reference in New Issue
Block a user