From 6d8d327129a75f758e207ff15ffa5b6937d87129 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sun, 13 Oct 2024 16:32:52 +0200 Subject: [PATCH] chore: set request budget to 2 (#11699) Co-authored-by: Oliver --- crates/net/network/src/budget.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/net/network/src/budget.rs b/crates/net/network/src/budget.rs index 6eba076f6..5f5d88861 100644 --- a/crates/net/network/src/budget.rs +++ b/crates/net/network/src/budget.rs @@ -5,8 +5,8 @@ pub const DEFAULT_BUDGET_TRY_DRAIN_STREAM: u32 = 10; /// Default budget to try and drain headers and bodies download streams. /// -/// Default is 1 iteration. -pub const DEFAULT_BUDGET_TRY_DRAIN_DOWNLOADERS: u32 = 1; +/// Default is 2 iterations. +pub const DEFAULT_BUDGET_TRY_DRAIN_DOWNLOADERS: u32 = 2; /// Default budget to try and drain [`Swarm`](crate::swarm::Swarm). ///