Skip to content

Make the QUIC reconnection interval logic less quirky #10507

Description

@marbens-arch

Feature description

The status quo is that the QUIC reconnection interval is max(reconnectionIntervalS/3, 10).

IMHO the QUIC reconnection interval shouldn't be hardcoded to be a third of the TCP reconnection interval.

Problem or use case

The current logic makes it so if I want to decrease the reconnection interval to 20 seconds on TCP to increase the chances of TCP hole punching working, it dials the QUIC addresses unnecessarily frequently, or worse, if I want to increase the reconnection interval to save energy, it will dial QUIC addresses at thrice the rate of the TCP addresses, negating the energy savings.

Alternatives or workarounds

Triple the TCP reconnection interval, but this can throw off the (subjective) balance between energy usage and time until connection for TCP addresses.

Activity

  1. added
    enhancement
    needs-triage
    on Dec 28, 2025
  2. calmh commented on Feb 11, 2026

    @calmh
    Member

    I wonder if an extra knob for this is really the best way to go. I'd rather have one knob that is actually respected, and I agree the 1/3-stuff seems broken. Question is if we should just let the default reconnection interval be 20s if that is what we need for effective hole punching, and have both TCP and QUIC and whatever else follow that.

  3. marbens-arch commented on Feb 11, 2026

    @marbens-arch
    Author
  4. calmh commented on Feb 12, 2026

    @calmh
  5. changed the title [-]Setting for QUIC reconnection interval[/-] [+]Make the QUIC reconnection interval logic less quirky[/+] on Feb 12, 2026
  6. added a commit that references this issue on Feb 12, 2026
    75dd940
  7. added a commit that references this issue on Mar 21, 2026
    5e0cc7f
  8. added 2 commits that reference this issue on Apr 6, 2026
    c816c4c
    44e13a0
  9. added a commit that references this issue on Jun 28, 2026
    a4dadaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementneeds-triage

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions