Skip to content

Add Pool option queueLimit #475

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

Closed
wants to merge 1 commit into from

Conversation

marcuswestin
Copy link
Contributor

Add Pool option queueLimit, which returns an error to Pool#getConnection if the queue of pending connection requests gets larger than the queueLimit. This is a safeguard to detect code which leaks connections sooner rather than later. The new functionality covered in test/integration/pool/test-queue-limit.js

…ion if the queue of pending connection requests gets larger than the queueLimit. This is a safeguard to detect code which leaks connections sooner rather than later. The new functionality covered in test/integration/pool/test-queue-limit.js
@felixge
Copy link
Collaborator

felixge commented May 13, 2013

@marcuswestin thx - LGTM. Added you as a collaborator on Github, feel free to merge this. Would be nice to have this added to the docs as well.

marcuswestin added a commit that referenced this pull request May 14, 2013
@marcuswestin
Copy link
Contributor Author

Fixed in 621fc0d (together with documentation in Readme.md)

@felixge
Copy link
Collaborator

felixge commented May 14, 2013

@marcuswestin 💖 thank you so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants