Skip to content

Unify connection_acquisition_timeout behavior - #1215

Merged
robsdedude merged 5 commits into
neo4j:6.xfrom
robsdedude:unify-connection-acquisition-timeout
Jul 16, 2025
Merged

Unify connection_acquisition_timeout behavior#1215
robsdedude merged 5 commits into
neo4j:6.xfrom
robsdedude:unify-connection-acquisition-timeout

Conversation

@robsdedude

Copy link
Copy Markdown
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

@StephenCathcart StephenCathcart left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

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