Fix SelfRateLimiter breaks the sequence of delayed_requests. (#5903)

* Add test for next_peer_request_ready

* Use push_front to requeue
This commit is contained in:
Akihito Nakano
2024-06-18 13:49:45 +09:00
committed by GitHub
parent 474c1b4486
commit c2838ba2bd
3 changed files with 72 additions and 1 deletions

1
Cargo.lock generated
View File

@@ -4964,6 +4964,7 @@ dependencies = [
"libp2p-mplex",
"lighthouse_metrics",
"lighthouse_version",
"logging",
"lru",
"lru_cache",
"parking_lot 0.12.3",