Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make queues size-aware #31

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Adirio
Copy link

@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 [email protected]

… queues and providing a new one for sized queues

Signed-off-by: Adrián Orive <[email protected]>
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