Skip to content

Commit

Permalink
Merge pull request #2762 from estesp/cherrypick-exec-exit-chan-size-pr
Browse files Browse the repository at this point in the history
[release/1.1] cherry-pick: Increase reaper buffer size
  • Loading branch information
estesp committed Nov 13, 2018
2 parents a19509e + 966fc1a commit 7cc1302
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions reaper/reaper.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
// ErrNoSuchProcess is returned when the process no longer exists
var ErrNoSuchProcess = errors.New("no such process")

const bufferSize = 32
const bufferSize = 2048

// Reap should be called when the process receives an SIGCHLD. Reap will reap
// all exited processes and close their wait channels
Expand All @@ -47,7 +47,6 @@ func Reap() error {
Status: e.Status,
}
}

}
Default.Unlock()
return err
Expand Down

0 comments on commit 7cc1302

Please sign in to comment.