You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make the QUIC reconnection interval logic less quirky #10507
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.
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.
Activity
calmh commentedon Feb 11, 2026
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.
marbens-arch commentedon Feb 11, 2026
calmh commentedon Feb 12, 2026
[-]Setting for QUIC reconnection interval[/-][+]Make the QUIC reconnection interval logic less quirky[/+]chore(config, connections): use same reconnection interval for QUIC a…
Merge branch 'main' into jb/newconfigsettings
chore(config, connections): use same reconnection interval for QUIC a…
chore(config, connections): use same reconnection interval for QUIC a…
fix(container): update image syncthing/syncthing (2.0.13 → 2.0.16) (#179
[codex] Merge upstream stable v2.1.1 into main (#23)