Skip to content

Add support for connection.recv_timeout_seconds connection hint #968

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 1 commit into from
Jul 29, 2021

Conversation

injectives
Copy link
Contributor

@injectives injectives commented Jul 27, 2021

This update brings support for the connection.recv_timeout_seconds connection hint that the server may provide in response to the HELLO Bolt message.

By providing this value, the server instructs the client on when it may consider connection broken when the client does not hear anything from the server for the specified duration. The client should drop the connection and remove the server from its routing table when it is running with routing enabled. The timeout is considered retryable by the transaction functions.

In addition, this update adds support for the GetRoutingTable Testkit request. The ttl field is not currently populated.

@injectives injectives marked this pull request as draft July 27, 2021 13:58
@injectives injectives force-pushed the feature/connectionhints branch 3 times, most recently from af14f46 to caac24e Compare July 28, 2021 16:40
@injectives injectives force-pushed the feature/connectionhints branch from caac24e to e1d47cc Compare July 28, 2021 16:42
@injectives injectives marked this pull request as ready for review July 29, 2021 11:25
@injectives injectives requested a review from gjmwoods July 29, 2021 11:25
Copy link
Contributor

@gjmwoods gjmwoods left a comment

Choose a reason for hiding this comment

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

🎨

@injectives injectives merged commit f8cf73d into neo4j:4.3 Jul 29, 2021
@injectives injectives deleted the feature/connectionhints branch July 29, 2021 15:28
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