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

View File

@@ -60,6 +60,7 @@ tempfile = { workspace = true }
quickcheck = { workspace = true }
quickcheck_macros = { workspace = true }
async-channel = { workspace = true }
logging = { workspace = true }
[features]
libp2p-websocket = []