Skip to content

Make queues size-aware#31

Open
Adirio wants to merge 1 commit into
docker:mainfrom
Adirio:bounded-queue-sink
Open

Make queues size-aware#31
Adirio wants to merge 1 commit into
docker:mainfrom
Adirio:bounded-queue-sink

Conversation

@Adirio
Copy link
Copy Markdown

@Adirio Adirio commented May 3, 2018

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 aorive@ikerlan.es

… queues and providing a new one for sized queues

Signed-off-by: Adrián Orive <aorive@ikerlan.es>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants