mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-14 06:06:12 +00:00
runtime: increase dial timeout
On some setups, starting multiple kata pods (qemu) simultaneously on the same node might cause kata VMs booting time to increase and the pods to fail with: Failed to check if grpc server is working: rpc error: code = DeadlineExceeded desc = timed out connecting to vsock 1358662990:1024: unknown Increasing default dialing timeout to 30s should cover most cases. Signed-off-by: Snir Sheriber <ssheribe@redhat.com> Fixes: #1543 (backport https://github.com/kata-containers/kata-containers/pull/1544)
This commit is contained in:
parent
7e4dc08b0e
commit
b7208b3c6c
@ -35,7 +35,7 @@ const (
|
||||
MockHybridVSockScheme = "mock"
|
||||
)
|
||||
|
||||
var defaultDialTimeout = 15 * time.Second
|
||||
var defaultDialTimeout = 30 * time.Second
|
||||
var defaultCloseTimeout = 5 * time.Second
|
||||
|
||||
var hybridVSockPort uint32
|
||||
|
Loading…
Reference in New Issue
Block a user