Serializes sandbox/provider-profile invariant checks and object writes within this gateway process. This is a temporary single-gateway guard for cross-object invariants. It is not HA-safe; replace it with DB-backed CAS/resource-version writes tracked by #1255 before enabling multiple gateway writers.
(&self)
| 333 | /// It is not HA-safe; replace it with DB-backed CAS/resource-version writes |
| 334 | /// tracked by #1255 before enabling multiple gateway writers. |
| 335 | pub(crate) async fn sandbox_sync_guard(&self) -> tokio::sync::OwnedMutexGuard<()> { |
| 336 | self.sync_lock.clone().lock_owned().await |
| 337 | } |
| 338 | |
| 339 | pub async fn new_docker( |
| 340 | config: openshell_core::Config, |
no outgoing calls
no test coverage detected