Skip to content

Commit 52cf91b

Browse files
authored
fix(hermes): increase the ws size limit (#2721)
1 parent 8378698 commit 52cf91b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/hermes/server/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/hermes/server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hermes"
3-
version = "0.9.1"
3+
version = "0.9.2"
44
description = "Hermes is an agent that provides Verified Prices from the Pythnet Pyth Oracle."
55
edition = "2021"
66

apps/hermes/server/src/api/ws.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ use {
4747
};
4848

4949
const PING_INTERVAL_DURATION: Duration = Duration::from_secs(30);
50-
const MAX_CLIENT_MESSAGE_SIZE: usize = 100 * 1024; // 100 KiB
50+
const MAX_CLIENT_MESSAGE_SIZE: usize = 1025 * 1024; // 1 MiB
5151
const MAX_CONNECTION_DURATION: Duration = Duration::from_secs(24 * 60 * 60); // 24 hours
5252

5353
/// The maximum number of bytes that can be sent per second per IP address.

0 commit comments

Comments
 (0)