Use budgeted poll macro #11649
Labels
A-networking
Related to networking in general
C-debt
Refactor of code section that is hard to understand or maintain
D-good-first-issue
Nice and easy! A great choice to get started
Describe the feature
Use existing pattern for budgeted poll of sub streams + remove magic number for budget in #11647
For example as has been done in the transactions manager
reth/crates/net/network/src/transactions/mod.rs
Lines 1257 to 1264 in 1ba631b
A macro without use of metrics also exists
reth/crates/net/network/src/budget.rs
Lines 45 to 71 in 1ba631b
Additional context
No response
The text was updated successfully, but these errors were encountered: