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

Close stale connections before removing them from the pool #546

Merged
merged 1 commit into from
May 31, 2021

Conversation

robsdedude
Copy link
Member

@robsdedude robsdedude commented May 31, 2021

The driver would not actively close stale (e.g., auth expired) connections (i.e., send GOODBYE and close the socket) when removing them from the connection pool. The socket would probably still be closed sooner or later by the GC. This, however, would cause a warning, be non-deterministic in timing, and not send GOODBYE.

@robsdedude robsdedude merged commit c1bfb87 into neo4j:4.3 May 31, 2021
@robsdedude robsdedude deleted the fix-close-stale-connections branch May 31, 2021 09:47
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.

1 participant