Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ flate2 = { version = "1.0", default-features = false }
futures-core = "0.3"
futures-util = "0.3"
futures-sink = "0.3"
keyed_priority_queue = "0.4"
lazy_static = "1"
lru = "0.10.0"
mio = { version = "0.8.0", features = ["os-poll", "net"] }
Expand All @@ -27,7 +28,6 @@ once_cell = "1.7.2"
pem = "2.0.1"
percent-encoding = "2.1.0"
pin-project = "1.0.2"
priority-queue = "1"
serde = "1"
serde_json = "1"
socket2 = "0.5.2"
Expand Down
4 changes: 2 additions & 2 deletions src/conn/pool/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// modified, or distributed except according to those terms.

use futures_util::FutureExt;
use priority_queue::PriorityQueue;
use keyed_priority_queue::KeyedPriorityQueue;
use tokio::sync::mpsc;

use std::{
Expand Down Expand Up @@ -92,7 +92,7 @@ impl Exchange {

#[derive(Default, Debug)]
struct Waitlist {
queue: PriorityQueue<QueuedWaker, QueueId>,
queue: KeyedPriorityQueue<QueuedWaker, QueueId>,
}

impl Waitlist {
Expand Down