Skip to content

Commit 7fb4df4

Browse files
ResuBakakim
andauthored
Update tungstenite to get client read performance improvement (#2966)
Co-authored-by: Kim Altintop <kim@eagain.io>
1 parent 61b54ef commit 7fb4df4

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ tokio = { version = "1.37", features = ["full"] }
265265
tokio_metrics = { version = "0.4.0" }
266266
tokio-postgres = { version = "0.7.8", features = ["with-chrono-0_4"] }
267267
tokio-stream = "0.1.17"
268-
tokio-tungstenite = { version = "0.26.2", features = ["native-tls"] }
268+
tokio-tungstenite = { version = "0.27.0", features = ["native-tls"] }
269269
tokio-util = { version = "0.7.4", features = ["time"] }
270270
toml = "0.8"
271271
toml_edit = "0.22.22"

crates/client-api/src/routes/subscribe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ fn ws_recv_loop(
772772
| WsError::Capacity(_)
773773
| WsError::Protocol(_)
774774
| WsError::WriteBufferFull(_)
775-
| WsError::Utf8
775+
| WsError::Utf8(_)
776776
| WsError::AttackAttempt
777777
| WsError::Url(_)
778778
| WsError::Http(_)

0 commit comments

Comments
 (0)