mirror of
https://github.com/containerd/containerd.git
synced 2026-08-12 12:14:44 +00:00
This is mostly to workaround an issue with gRPC based shims after containerd
restart. If a shim dies while containerd is also down/restarting, on reboot
grpc.DialContext with our current set of DialOptions will make us wait for
100 seconds per shim even if the socket no longer exists or has no listener.
Signed-off-by: Danny Canter <danny@dcantah.dev>
(cherry picked from commit 0bc9633414)
Signed-off-by: Danny Canter <danny@dcantah.dev>