Fix the issue of process freezing when there is a large amount of sigpipe signals occurring during containerd process restart.

Signed-off-by: BaiQiuLi <bo.qiuli@zte.com.cn>
This commit is contained in:
BaiQiuLi 2024-01-30 10:52:32 +08:00 committed by Maksym Pavlenko
parent bca3554a52
commit 3d4de340d8
1 changed files with 1 additions and 0 deletions

View File

@ -307,6 +307,7 @@ async fn handle_signals(signals: Signals) {
let mut signals = signals.fuse();
while let Some(sig) = signals.next().await {
match sig {
SIGPIPE => {}
SIGTERM | SIGINT => {
debug!("received {}", sig);
}