pub async fn upsert(
conn: &mut PgConnection,
breaker: &SuotarCircuitBreakerReport<'_>,
) -> ModelResult<()>Expand description
Replaces the reported state of one process’s breaker. Only the worker process that owns the breaker may call this: any other process holds a breaker of its own, and would overwrite the worker’s.