fix(websocket): configurable WS session cap (WS-09)
This commit is contained in:
@@ -858,6 +858,9 @@ mod tests {
|
||||
decoy: crate::server::DecoyConfig::NotFound,
|
||||
openapi_doc: crate::server::adapter::CachedOpenAPIDoc::new(®istry),
|
||||
ws_sessions: Arc::new(crate::websocket::WsSessions::new()),
|
||||
ws_session_slots: Arc::new(tokio::sync::Semaphore::new(
|
||||
crate::websocket::DEFAULT_WS_MAX_SESSIONS,
|
||||
)),
|
||||
};
|
||||
let auth_state = Arc::clone(&provider);
|
||||
gateway_router()
|
||||
|
||||
Reference in New Issue
Block a user