Skip to content

Commit eec00ad

Browse files
authored
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>
1 parent 132c582 commit eec00ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎crates/openshell-driver-podman/src/client.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use tracing::debug;
2121
const API_VERSION: &str = "v5.0.0";
2222

2323
/// Timeout for individual Podman API calls.
24-
const API_TIMEOUT: Duration = Duration::from_secs(30);
24+
const API_TIMEOUT: Duration = Duration::from_mins(1);
2525

2626
/// Maximum allowed size for the event stream line buffer (1 MB).
2727
const MAX_EVENT_BUFFER: usize = 1_048_576;

0 commit comments

Comments
 (0)