fix(net): decrease budget for header reqs to process before yielding thread (#11636)

This commit is contained in:
Emilia Hane
2024-10-12 10:06:19 +02:00
committed by GitHub
parent 75dda1c398
commit 43fe46f0d3

View File

@@ -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 4 iterations.
pub const DEFAULT_BUDGET_TRY_DRAIN_DOWNLOADERS: u32 = 4;
/// Default is 1 iteration.
pub const DEFAULT_BUDGET_TRY_DRAIN_DOWNLOADERS: u32 = 1;
/// Default budget to try and drain [`Swarm`](crate::swarm::Swarm).
///