mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
update graphql-ws connection init timeout to 3 secs (#1164)
V3_GIT_ORIGIN_REV_ID: 5143e6c7939ff4c49c4fae2ff8c3d3d757b4b60f
This commit is contained in:
parent
a6719bee76
commit
a2585dcf0a
@ -11,7 +11,7 @@ use crate::websocket::types as ws;
|
||||
pub static GRAPHQL_WS_PROTOCOL: &str = "graphql-transport-ws";
|
||||
|
||||
/// Timeout for the connection initialization process.
|
||||
pub static CONNECTION_INIT_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(10);
|
||||
pub static CONNECTION_INIT_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(3);
|
||||
|
||||
/// Handles incoming client messages and dispatches them to appropriate handlers.
|
||||
pub async fn handle_client_message(connection: ws::Connection, message: ClientMessage) {
|
||||
|
Loading…
Reference in New Issue
Block a user