mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-01 03:44:30 +00:00
Gate sync peer selection on per-protocol concurrent-request limit (#9456)
Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>
This commit is contained in:
@@ -46,7 +46,7 @@ mod response_limiter;
|
||||
mod self_limiter;
|
||||
|
||||
// Maximum number of concurrent requests per protocol ID that a client may issue.
|
||||
const MAX_CONCURRENT_REQUESTS: usize = 2;
|
||||
pub const MAX_CONCURRENT_REQUESTS: usize = 2;
|
||||
|
||||
/// Composite trait for a request id.
|
||||
pub trait ReqId: Send + 'static + std::fmt::Debug + Copy + Clone {}
|
||||
|
||||
Reference in New Issue
Block a user