1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Cleanup: Make channels unbuffered

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
This commit is contained in:
Alexandr Morozov 2014-08-14 21:50:22 +04:00
parent f1975cbc7c
commit 0d4d7e4a28
No known key found for this signature in database
GPG key ID: 59BF89FA47378873

View file

@ -58,8 +58,8 @@ func newContainerMonitor(container *Container, policy runconfig.RestartPolicy) *
container: container,
restartPolicy: policy,
timeIncrement: defaultTimeIncrement,
stopChan: make(chan struct{}, 1),
startSignal: make(chan struct{}, 1),
stopChan: make(chan struct{}),
startSignal: make(chan struct{}),
}
}