1
0
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:
Darren Shepherd 2016-02-04 01:05:58 -07:00
parent 2cbde58c30
commit 8ac9b1137b

View File

@ -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 {