mirror of
https://github.com/rancher/os.git
synced 2025-08-30 21:26:09 +00:00
Set signal channel to a sufficiently large buffer size
This commit is contained in:
parent
2cbde58c30
commit
8ac9b1137b
@ -9,7 +9,7 @@ import (
|
||||
)
|
||||
|
||||
func pidOne() error {
|
||||
c := make(chan os.Signal)
|
||||
c := make(chan os.Signal, 2048)
|
||||
signal.Notify(c, syscall.SIGCHLD)
|
||||
|
||||
for range c {
|
||||
|
Loading…
Reference in New Issue
Block a user