mirror of
https://github.com/rancher/os.git
synced 2025-09-01 14:48:55 +00:00
Set signal channel to a sufficiently large buffer size
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func pidOne() error {
|
func pidOne() error {
|
||||||
c := make(chan os.Signal)
|
c := make(chan os.Signal, 2048)
|
||||||
signal.Notify(c, syscall.SIGCHLD)
|
signal.Notify(c, syscall.SIGCHLD)
|
||||||
|
|
||||||
for range c {
|
for range c {
|
||||||
|
Reference in New Issue
Block a user