mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-16 07:05:14 +00:00
runtime-rs: Adjust VSOCK timeouts for IBM SEL
The default `reconnect_timeout` (3 seconds) was found to be insufficient for IBM SEL when using VSOCK. This commit updates the timeouts as follows: - `dial_timeout_ms`: Set to 90ms to match the value used in go-runtime for IBM SEL - `reconnect_timeout_ms`: Increased to 5000ms based on empirical testing Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
This commit is contained in:
parent
aab6caa141
commit
0c9cc7ffc1
@ -535,7 +535,7 @@ kernel_modules=[]
|
|||||||
|
|
||||||
# Agent dial timeout in millisecond.
|
# Agent dial timeout in millisecond.
|
||||||
# (default: 10)
|
# (default: 10)
|
||||||
dial_timeout_ms = 30
|
dial_timeout_ms = 90
|
||||||
|
|
||||||
# Agent reconnect timeout in millisecond.
|
# Agent reconnect timeout in millisecond.
|
||||||
# Retry times = reconnect_timeout_ms / dial_timeout_ms (default: 300)
|
# Retry times = reconnect_timeout_ms / dial_timeout_ms (default: 300)
|
||||||
@ -544,7 +544,7 @@ dial_timeout_ms = 30
|
|||||||
# You'd better not change the value of dial_timeout_ms, unless you have an
|
# You'd better not change the value of dial_timeout_ms, unless you have an
|
||||||
# idea of what you are doing.
|
# idea of what you are doing.
|
||||||
# (default: 3000)
|
# (default: 3000)
|
||||||
#reconnect_timeout_ms = 3000
|
reconnect_timeout_ms = 5000
|
||||||
|
|
||||||
[runtime]
|
[runtime]
|
||||||
# If enabled, the runtime will log additional debug messages to the
|
# If enabled, the runtime will log additional debug messages to the
|
||||||
|
Loading…
Reference in New Issue
Block a user