MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / docker_stop_timeout_secs

Function docker_stop_timeout_secs

crates/openshell-driver-docker/src/lib.rs:2900–2902  ·  view source on GitHub ↗
(timeout_secs: u32)

Source from the content-addressed store, hash-verified

2898}
2899
2900fn docker_stop_timeout_secs(timeout_secs: u32) -> i32 {
2901 i32::try_from(timeout_secs).unwrap_or(i32::MAX)
2902}
2903
2904fn emit_snapshot_diff(
2905 events: &broadcast::Sender<WatchSandboxesEvent>,

Callers 2

stop_sandbox_innerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected