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

Flow length #1

Open
CharlesWall opened this issue Aug 5, 2016 · 0 comments
Open

Flow length #1

CharlesWall opened this issue Aug 5, 2016 · 0 comments

Comments

@CharlesWall
Copy link

It would be nice to know how many items were already enqueued under a given flow Id and maybe even cancel/throw if we exceeded a configurable maximum.

drrFairQueue.getLength('my-flow-id'); // 16

drrFairQueue.push('my-flow-id', someValue); //throws error "Maximum Flow Size exceeded"

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

No branches or pull requests

1 participant