Skip to content

Add configurable disconnect timeout to UdpRuntime - #86

Open
lthiery wants to merge 1 commit into
helium:masterfrom
lthiery:configurable-disconnect-timeout
Open

Add configurable disconnect timeout to UdpRuntime#86
lthiery wants to merge 1 commit into
helium:masterfrom
lthiery:configurable-disconnect-timeout

Conversation

@lthiery

@lthiery lthiery commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

Add UdpRuntime::new_with_disconnect_timeout() constructor that accepts a Duration for the PULL_DATA keepalive timeout. The existing new() constructor is unchanged and defaults to 60s.

The cache check frequency is also scaled to match the configured timeout so that disconnects are detected promptly regardless of the threshold.

@lthiery
lthiery force-pushed the configurable-disconnect-timeout branch from d1565e1 to c53f2cc Compare March 20, 2026 20:47
Add `UdpRuntime::new_with_disconnect_timeout()` constructor that accepts
a Duration for the PULL_DATA keepalive timeout. The existing `new()`
constructor is unchanged and defaults to 60s.

The cache check frequency is also scaled to match the configured timeout
so that disconnects are detected promptly regardless of the threshold.

Also pin rand to 0.8 and enable serde std feature to fix build with
latest dependency versions.
@lthiery
lthiery force-pushed the configurable-disconnect-timeout branch from c53f2cc to 6d89835 Compare March 20, 2026 20:50
@lthiery

lthiery commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

Bump

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