Fix bidirectional comms regression: remove unsafe core 0 persist task, restore better-path announce bypass

Increase TCP drain budget (5→10 frames), raise RNS-overload skip threshold (200→500ms)
This commit is contained in:
DeFiDude
2026-03-30 02:15:22 -06:00
parent 0d2a75a71c
commit 6836b6967a
4 changed files with 41 additions and 76 deletions
+2 -2
View File
@@ -83,9 +83,9 @@ void TCPClientInterface::loop() {
return; // Will reconnect on next loop iteration
}
// Drain incoming frames per loop (up to 5, time-boxed to prevent announce flood blocking)
// Drain incoming frames per loop (up to 10, time-boxed)
unsigned long tcpStart = millis();
for (int i = 0; i < 5 && _client.available() && (millis() - tcpStart < TCP_LOOP_BUDGET_MS); i++) {
for (int i = 0; i < 10 && _client.available() && (millis() - tcpStart < TCP_LOOP_BUDGET_MS); i++) {
unsigned long rxStart = millis();
int len = readFrame();
if (len > 0) {