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:
parent
bca3554a52
commit
3d4de340d8
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue