Browse Source

Merge pull request #6508 from mheon/signals

Increase size of buffer for signal forwarding with --sig-proxy
Michael Crosby 11 years ago
parent
commit
860c664ccb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/client/commands.go

+ 1 - 1
api/client/commands.go

@@ -552,7 +552,7 @@ func (cli *DockerCli) CmdRestart(args ...string) error {
 }
 
 func (cli *DockerCli) forwardAllSignals(cid string) chan os.Signal {
-	sigc := make(chan os.Signal, 1)
+	sigc := make(chan os.Signal, 128)
 	signal.CatchAll(sigc)
 	go func() {
 		for s := range sigc {