fix: retain complete histories with bounded journal capacity and native recovery
Rust development slice / linux (push) Failing after 6s
Rust development slice / linux (push) Failing after 6s
This commit is contained in:
@@ -92,6 +92,12 @@ pub async fn connect(
|
||||
.await
|
||||
.map_err(|_| StatusCode::SERVICE_UNAVAILABLE)?;
|
||||
let (tenant, agent) = binding.ok_or(StatusCode::UNAUTHORIZED)?;
|
||||
if dev_transport_faults::reject_wss(&state.pool, tenant, agent, &fingerprint)
|
||||
.await
|
||||
.map_err(|_| StatusCode::SERVICE_UNAVAILABLE)?
|
||||
{
|
||||
return Err(StatusCode::SERVICE_UNAVAILABLE);
|
||||
}
|
||||
Ok(ws
|
||||
.max_message_size(MAX_MESSAGE)
|
||||
.max_frame_size(MAX_MESSAGE)
|
||||
@@ -226,3 +232,6 @@ async fn channel(
|
||||
}
|
||||
#[path = "dev_delivery_faults.rs"]
|
||||
pub(crate) mod dev_delivery_faults;
|
||||
|
||||
#[path = "dev_transport_faults.rs"]
|
||||
pub(crate) mod dev_transport_faults;
|
||||
|
||||
Reference in New Issue
Block a user