add BlockBatchLimit comment: Maximum 128 (#13502)

Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
This commit is contained in:
Dust 2024-02-16 04:00:18 +08:00 committed by GitHub
parent 2d0fe20917
commit 05b2795844
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -152,7 +152,7 @@ var (
// BlockBatchLimit specifies the requested block batch size. // BlockBatchLimit specifies the requested block batch size.
BlockBatchLimit = &cli.IntFlag{ BlockBatchLimit = &cli.IntFlag{
Name: "block-batch-limit", Name: "block-batch-limit",
Usage: "The amount of blocks the local peer is bounded to request and respond to in a batch.", Usage: "The amount of blocks the local peer is bounded to request and respond to in a batch. Maximum 128",
Value: 64, Value: 64,
} }
// BlockBatchLimitBurstFactor specifies the factor by which block batch size may increase. // BlockBatchLimitBurstFactor specifies the factor by which block batch size may increase.