From e64bf4fe9d6fa7fbebd71a855a850146a6581b52 Mon Sep 17 00:00:00 2001 From: Mike Langmayr <1809691+mikelangmayr@users.noreply.github.com> Date: Fri, 9 Oct 2026 17:42:58 -0700 Subject: [PATCH] Allow 5 seconds for an Archon reply --- utils/network.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/network.h b/utils/network.h index ad4b94e..2d8f50c 100644 --- a/utils/network.h +++ b/utils/network.h @@ -37,7 +37,9 @@ namespace Network { - constexpr const int POLLTIMEOUT = 3000; /// default Poll timeout in msec + // 3000 was not enough for an Archon APPLYALL, which measures 4.5s on a + // controller whose bias boards make its power-down ramp slow + constexpr const int POLLTIMEOUT = 5000; /// default Poll timeout in msec constexpr const int LISTENQ = 64; /// listen(3n) backlog constexpr const int UDPMSGLEN = 256; /// UDP message length constexpr const int CONNECT_TIMEOUT_SEC = 3; /// Connect() timeout in seconds