Skip to content

Update MSRV pins and lockfiles#284

Merged
neo-walker merged 3 commits into
neo4j-labs:mainfrom
neo-walker:update-lockfiles
Apr 2, 2026
Merged

Update MSRV pins and lockfiles#284
neo-walker merged 3 commits into
neo4j-labs:mainfrom
neo-walker:update-lockfiles

Conversation

@neo-walker

Copy link
Copy Markdown
Collaborator

No description provided.

@neo-walker neo-walker merged commit 2c55357 into neo4j-labs:main Apr 2, 2026
10 checks passed
@neo-walker neo-walker deleted the update-lockfiles branch April 2, 2026 11:55
neo-walker pushed a commit that referenced this pull request Apr 7, 2026
* feat: add connection timeout, TCP keepalive, and pool health features

- Add connection_timeout (default 30s) wrapping TcpStream::connect and recv
- Add tcp_keepalive (default 60s) via socket2 on new connections
- Add idle_timeout and max_lifetime config options wired to deadpool
- Add 5s timeout on pool recycle() to prevent broken connection poisoning
- Add ConnectionTimedOut error variant

Fixes indefinite hangs when TCP connections become half-open (container
restarts, network interruptions), which previously exhausted the
deadpool connection pool permanently.

* test/docs: add tests and documentation for timeout/keepalive features

- Add 7 unit tests covering config defaults, custom timeouts, pool
  creation, and error display
- Update lib.rs Configurations doc section with new options
- All 290 tests pass

* style: `cargo fmt`

* fix: change function definitions to requested

* fix: update MSRV lockfiles and add missing Config fields in tests

Rebase onto upstream/main which includes MSRV pin updates (#284).
Re-ran `cargo xtask msrv min` to regenerate lockfiles and added
missing timeout/keepalive fields to Config initializers in tests.
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