Add buffer size to signal handler log
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
46b2a560c0
commit
64705f5263
1 changed files with 3 additions and 1 deletions
|
@ -14,7 +14,9 @@ import (
|
|||
)
|
||||
|
||||
func startSignalHandler(supervisor *containerd.Supervisor, bufferSize int) {
|
||||
logrus.Debug("containerd: starting signal handler")
|
||||
logrus.WithFields(logrus.Fields{
|
||||
"bufferSize": bufferSize,
|
||||
}).Debug("containerd: starting signal handler")
|
||||
signals := make(chan os.Signal, bufferSize)
|
||||
signal.Notify(signals)
|
||||
for s := range signals {
|
||||
|
|
Loading…
Reference in a new issue