Torrent: reduce network chunk, some routers are unhappy (#829)

This commit is contained in:
Alex Sharov 2023-01-11 13:30:13 +07:00 committed by GitHub
parent 922b5754da
commit 27c56f2de8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ const DefaultPieceSize = 2 * 1024 * 1024
// DefaultNetworkChunkSize - how much data request per 1 network call to peer.
// default: 16Kb
const DefaultNetworkChunkSize = 1 * 1024 * 1024
const DefaultNetworkChunkSize = 512 * 1024
type Cfg struct {
*torrent.ClientConfig