Commit 823f6c9
refactor(consul-postgres-ha): mesh-conn post-QUIC cleanup pass
Drops the MESH_CONN_TCP_ONLY env knob entirely (from dialICE, both
compose templates, and reportLinkStats's tick cadence). The flag was
investigated as a yamux-era escape hatch and proven non-helpful — pion
still selects relay-UDP candidates regardless because the relay
candidate's transport comes from the TURN allocation's relayed leg
(always UDP unless RFC 6062 TCP-allocation requested), not from the
client→TURN leg. With the QUIC switch, the underlying loss is handled
by the transport layer, so the knob has no remaining purpose and was
becoming misleading.
Also quiets reportLinkStats: tick 10s → 60s and skip the log line
entirely when bytes haven't moved since the last tick. Idle peer pairs
no longer spam every 10 seconds. Final-stats line on stop is unchanged
so postmortems still get a summary regardless of activity.
Drops the unused *quic.Conn parameter from reportLinkStats, refreshes
the stale "log every 10s" banner, and tightens the MESH_CONN_RELAY_ONLY
comment in worker.yaml so the rationale ("flip on if worker-to-worker
direct pairs fail") doesn't contradict itself.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ed3310a commit 823f6c9
3 files changed
Lines changed: 19 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | 59 | | |
65 | 60 | | |
66 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
| 438 | + | |
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
| |||
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
643 | | - | |
644 | | - | |
| 643 | + | |
| 644 | + | |
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
| |||
703 | 703 | | |
704 | 704 | | |
705 | 705 | | |
706 | | - | |
707 | | - | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
708 | 712 | | |
709 | 713 | | |
710 | 714 | | |
| |||
716 | 720 | | |
717 | 721 | | |
718 | 722 | | |
719 | | - | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
720 | 727 | | |
721 | 728 | | |
722 | 729 | | |
| |||
831 | 838 | | |
832 | 839 | | |
833 | 840 | | |
834 | | - | |
835 | | - | |
836 | | - | |
837 | | - | |
838 | | - | |
839 | | - | |
840 | | - | |
841 | | - | |
842 | | - | |
843 | | - | |
844 | | - | |
845 | | - | |
846 | | - | |
847 | | - | |
848 | | - | |
849 | | - | |
850 | | - | |
851 | | - | |
852 | 841 | | |
853 | 842 | | |
854 | | - | |
| 843 | + | |
855 | 844 | | |
856 | 845 | | |
857 | 846 | | |
| |||
0 commit comments