diff --git a/apps/hermes/server/Cargo.lock b/apps/hermes/server/Cargo.lock index 450a614738..134281807e 100644 --- a/apps/hermes/server/Cargo.lock +++ b/apps/hermes/server/Cargo.lock @@ -1868,7 +1868,7 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hermes" -version = "0.9.1" +version = "0.9.2" dependencies = [ "anyhow", "async-trait", diff --git a/apps/hermes/server/Cargo.toml b/apps/hermes/server/Cargo.toml index 9aa28c0fca..ee9f0ae051 100644 --- a/apps/hermes/server/Cargo.toml +++ b/apps/hermes/server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hermes" -version = "0.9.1" +version = "0.9.2" description = "Hermes is an agent that provides Verified Prices from the Pythnet Pyth Oracle." edition = "2021" diff --git a/apps/hermes/server/src/api/ws.rs b/apps/hermes/server/src/api/ws.rs index b6a6a66b12..a870f24dc7 100644 --- a/apps/hermes/server/src/api/ws.rs +++ b/apps/hermes/server/src/api/ws.rs @@ -47,7 +47,7 @@ use { }; const PING_INTERVAL_DURATION: Duration = Duration::from_secs(30); -const MAX_CLIENT_MESSAGE_SIZE: usize = 100 * 1024; // 100 KiB +const MAX_CLIENT_MESSAGE_SIZE: usize = 1025 * 1024; // 1 MiB const MAX_CONNECTION_DURATION: Duration = Duration::from_secs(24 * 60 * 60); // 24 hours /// The maximum number of bytes that can be sent per second per IP address.