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

View File

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