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

[JBJCA-1399] At SemaphoreConcurrentLinkedDequeManagedConnectionPool.i… #695

Merged
merged 1 commit into from Dec 9, 2019

Conversation

fl4via
Copy link
Contributor

@fl4via fl4via commented Dec 9, 2019

…ncreaseCapacity, removeConnectionListenerFromPool will cause the poolSize to be correctly updated only if the connection listener is found inside the pool. For that reason, we need to add the connection listener to the pool before removing it, or else, the pool size will become inconsistent.

Jira: https://issues.redhat.com/browse/JBJCA-1399

…ncreaseCapacity, removeConnectionListenerFromPool will cause the poolSize to be correctly updated only if the connection listener is found inside the pool. For that reason, we need to add the connection listener to the pool before removing it, or else, the pool size will become inconsistent.

Plus: reformat the SemaphoreConcurrentLinkedDequeManagedConnectionPoolTestCase code, because it was using tabs instead of 3 spaces, which is the standard for IronJacamar code style
@fl4via fl4via merged commit 23ee7c2 into ironjacamar:1.4 Dec 9, 2019
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.

None yet

1 participant