Skip to content

Unify connection_acquisition_timeout behavior #1215

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 5 commits into from
Jul 16, 2025

Conversation

robsdedude
Copy link
Member

The config option connection_acquisition_timeout now spans anything that's required to acquire a working connection from the pool. This includes

  • Potentially fetching a routing table This entails acquiring a connection in itself.
  • Bolt, TLS, TCP handshaking
  • Authentication
  • Any other required IO (e.g., DNS lookups)
  • Waiting for room in the pool
  • possibly more

Previously, the timeout wold be restarted for auxiliary connection acquisitions like those for fetching a routing table.

@robsdedude robsdedude force-pushed the unify-connection-acquisition-timeout branch from 963a6ec to 58600d6 Compare June 27, 2025 06:48
The config option `connection_acquisition_timeout` now spans anything that's
required to acquire a working connection from the pool. This includes
 * Potentially fetching a routing table
   This entails acquiring a connection in itself.
 * Bolt, TLS, TCP handshaking
 * Authentication
 * Any other required IO (e.g., DNS lookups)
 * Waiting for room in the pool
 * possibly more

Previously, the timeout wold be restarted for auxiliary connection acquisitions
like those for fetching a routing table.
@robsdedude robsdedude force-pushed the unify-connection-acquisition-timeout branch from 58600d6 to 27c8b85 Compare July 15, 2025 11:02
@robsdedude robsdedude marked this pull request as ready for review July 15, 2025 12:54
Copy link
Contributor

@StephenCathcart StephenCathcart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@robsdedude robsdedude merged commit fc43f30 into neo4j:6.x Jul 16, 2025
20 checks passed
@robsdedude robsdedude deleted the unify-connection-acquisition-timeout branch July 16, 2025 13:05
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.

2 participants