Repository navigation
Add --quic-idle-timeout to notice a lost relay sooner - #57
Merged
Merged
Conversation
* Pass the value to moqxr's EndpointConfig::idle_timeout_ms, the QUIC idle timeout offered to the relay. A relay that vanished, for example after a restart, is then noticed within it instead of 30 s. * Add relay.quic_idle_timeout_ms to the --config file. * 0, the default, keeps the moqxr default. * Needs a moqxr with EndpointConfig::idle_timeout_ms. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Accept 0 or 1000 to 600000 ms: below 1 s, every connection attempt times out. * Say that the idle timeout also bounds each connection attempt. * Test the real publish path: a relay that never answers fails within the 1000 ms timeout, where moqxr's own handshake wait would apply without the setting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
--quic-idle-timeout <ms>andrelay.quic_idle_timeout_msset the QUIC idle timeout that moq2ts offers to the relay, through moqxr'sEndpointConfig::idle_timeout_ms(v0.4.18). moq2ts then notices a vanished relay, for example after a restart, within that time. The default value 0 keeps moqxr's 30 s. Other values run from 1000 to 600000 ms, as in the moqxr CLI.We tested the change in November 2026:
This change is