go-events icon indicating copy to clipboard operation
go-events copied to clipboard

Make queues size-aware

Open Adirio opened this issue 7 years ago • 0 comments

The old NewQueue factory is left unchanged (infinite queue). A new NewSizedQueue factory is provided with an additional parameter, the size of the Queue. Writting when the queue is full returns ErrQueueFull.

Based on docker/swarmkit.

Signed-off-by: Adrián Orive [email protected]

Adirio avatar May 03 '18 15:05 Adirio