cmd/containerd-shim, reaper: reduce channel allocation

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day
2018-01-24 15:14:08 -08:00
parent 12eaf13f6f
commit 71e9f6dac2
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ import (
// ErrNoSuchProcess is returned when the process no longer exists
var ErrNoSuchProcess = errors.New("no such process")
const bufferSize = 1024
const bufferSize = 32
// Reap should be called when the process receives an SIGCHLD. Reap will reap
// all exited processes and close their wait channels