mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-29 07:23:25 +08:00
fix(podman): Increase the API timeout (#4820)
Experience has shown that ordinary podman container creation can take longer than 30 seconds for some users, so for now, this change doubles the timeout, until the source of the slowness is found and accounted for. Signed-off-by: Simon Ruggier <Simon.Ruggier@gmail.com>
This commit is contained in:
@@ -21,7 +21,7 @@ use tracing::debug;
|
||||
const API_VERSION: &str = "v5.0.0";
|
||||
|
||||
/// Timeout for individual Podman API calls.
|
||||
const API_TIMEOUT: Duration = Duration::from_secs(30);
|
||||
const API_TIMEOUT: Duration = Duration::from_mins(1);
|
||||
|
||||
/// Maximum allowed size for the event stream line buffer (1 MB).
|
||||
const MAX_EVENT_BUFFER: usize = 1_048_576;
|
||||
|
||||
Reference in New Issue
Block a user