mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-28 12:31:04 +00:00
kata-types: Give a more comprehensive definition of request_timeout_ms
To better understand the impact of different timeout values on system behavior, this section provides a more comprehensive explanation of the request_timeout_ms: This timeout value is used to set the maximum duration for the agent to process a CreateContainerRequest. It's also used to ensure that workloads, especially those involving large image pulls within the guest, have sufficient time to complete. Based on explaination above, it's renamed with `create_container_timeout`, Specially, exposed in 'configuration.toml' Fixes #10692 Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
This commit is contained in:
parent
f04bb3f34c
commit
ce524a3958
@ -112,7 +112,10 @@ pub struct Agent {
|
|||||||
pub reconnect_timeout_ms: u32,
|
pub reconnect_timeout_ms: u32,
|
||||||
|
|
||||||
/// Agent request timeout value in millisecond
|
/// Agent request timeout value in millisecond
|
||||||
#[serde(default = "default_request_timeout")]
|
/// This timeout value is used to set the maximum duration for the agent to process a CreateContainerRequest.
|
||||||
|
/// It's also used to ensure that workloads, especially those involving large image pulls within the guest,
|
||||||
|
/// have sufficient time to complete.
|
||||||
|
#[serde(default = "default_request_timeout", rename = "create_container_timeout")]
|
||||||
pub request_timeout_ms: u32,
|
pub request_timeout_ms: u32,
|
||||||
|
|
||||||
/// Agent health check request timeout value in millisecond
|
/// Agent health check request timeout value in millisecond
|
||||||
|
Loading…
Reference in New Issue
Block a user