mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-27 16:18:08 -05:00
fix(net): decrease budget for header reqs to process before yielding thread (#11636)
This commit is contained in:
@@ -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).
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user