Skip to content

Commit

Permalink
chore: make BodiesDownloaderBuilder default equal to BodiesConfig (#5276
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Rjected authored Nov 3, 2023
1 parent a98ae7f commit e2ce015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/net/downloaders/src/bodies/bodies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ impl Default for BodiesDownloaderBuilder {
fn default() -> Self {
Self {
request_limit: 200,
stream_batch_size: 10_000,
stream_batch_size: 1_000,
max_buffered_blocks_size_bytes: 2 * 1024 * 1024 * 1024, // ~2GB
concurrent_requests_range: 5..=100,
}
Expand Down

0 comments on commit e2ce015

Please sign in to comment.