Open Adirio opened 6 years ago
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.
NewQueue
NewSizedQueue
Queue
ErrQueueFull
Based on docker/swarmkit.
Signed-off-by: Adrián Orive aorive@ikerlan.es
The old
NewQueue
factory is left unchanged (infinite queue). A newNewSizedQueue
factory is provided with an additional parameter, the size of theQueue
. Writting when the queue is full returnsErrQueueFull
.Based on docker/swarmkit.
Signed-off-by: Adrián Orive aorive@ikerlan.es