Add locks around subscribers channel
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
71ef776082
commit
d9881ab912
2 changed files with 20 additions and 3 deletions
4
buffer.go
Normal file
4
buffer.go
Normal file
|
@ -0,0 +1,4 @@
|
|||
package containerd
|
||||
|
||||
// DefaultBufferSize is the default size for a channel's buffer
|
||||
const DefaultBufferSize = 2048
|
Loading…
Add table
Add a link
Reference in a new issue