From: Anderson A. Giacomolli Date: Mon, 9 Nov 2026 17:48:10 +0000 (-0300) Subject: Retry the first WhatsApp connection X-Git-Url: http://git.giacomolli.uk/onechat/commitdiff_plain/53c6c8a5a17e2dfc8bd3ff02ab99d29d709dda2f?ds=inline;hp=53c6c8a5a17e2dfc8bd3ff02ab99d29d709dda2f Retry the first WhatsApp connection Keep failed starting connections in the Run select with a timer. Start at 2 seconds and double the wait up to 5 minutes, so the inbox and commands stay active during waits. End retries on a connection, context end, or link change. Share outage times, notices, status, and redacted logs with lost connections. Keep one failure line and one recovery line for an outage. Disable library startup retries only for linked devices. A returned ConnectContext error has no Disconnected event, while the library retry mode emits that event and returns nil. One retry owner prevents parallel loops and gives the requested delay cap. Pairing and retries after an open connection keep their library behavior. ---