Add locks around subscribers channel

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2015-12-10 13:56:49 -08:00
parent 71ef776082
commit d9881ab912
2 changed files with 20 additions and 3 deletions

4
buffer.go Normal file
View file

@ -0,0 +1,4 @@
package containerd
// DefaultBufferSize is the default size for a channel's buffer
const DefaultBufferSize = 2048