-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Rate limit new connection creations (maxConnecting) #685
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
b16a727
Refactor ConcurrentPool so that it becomes agnostic of the item initi…
stIncMale f21d299
Implement maxConnecting in DefaultConnectionPool.get
stIncMale 9371a8b
Add specification tests
stIncMale 388a7a7
Implement integration style CMAP specification tests
stIncMale 1e75fe0
Implement maxConnecting in DefaultConnectionPool.getAsync
stIncMale 8360c76
Fix static validation issues
stIncMale 045fe13
Implement runOn in AbstractConnectionPoolTest
stIncMale 5e5c7c0
Send ConnectionCheckOutFailedEvent with Reason.CONNECTION_ERROR if fa…
stIncMale 459466a
Address the first set of review concerns
stIncMale 4dae245
Add an test for DefaultConnectionPool.getAsync that checks for Reason…
stIncMale 5d203f7
Simplify DefaultConnectionPoolSpecification.selectConnectionAsync
stIncMale 3d54d9d
Simplify ConcurrentPool.ensureMinSize
stIncMale 26a4a7b
Replace Java assert statements with our assert methods
stIncMale e2bd080
Merge branch 'master' into JAVA-3927
stIncMale 45d1891
Address naming and try-finally review concerns
stIncMale 49a3e3c
Fix ensureMinSize call in ConcurrentPoolTest
stIncMale fbd5a97
Add tests for Timeout
stIncMale 6eaf542
Introduce sync and async methods by duplicating the logic of openOrSi…
stIncMale f5967d1
Make it clearer that releasePermit and tryHandOver methods acquire th…
stIncMale 1e29f20
Replace Timeout.remainingNanos with remaining(TimeUnit)
stIncMale d3a9195
Address review concerns
stIncMale fa3c23c
Undo changes in the ConnectionPoolListener specification
stIncMale 0fedc2d
Improve docs
stIncMale 22d3afc
Add concurrency tests for DefaultConnectionPool
stIncMale fbdd763
Assert all checked in connections are handed over in DefaultConnectio…
stIncMale ba98f3d
Address review concerns
stIncMale b04ff8f
Do not confuse a user with timeout exceptions caused by timeout excep…
stIncMale File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add concurrency tests for DefaultConnectionPool
- Loading branch information
commit 22d3afccd7e1a6a253af9fe4c5339594813e2504
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.