openclaw/extensions
zhuowater 8229cde856 fix(discord): retry startup with exponential backoff on transient network outage
When the Discord plugin starts during a network outage, the initial
WebSocket handshake fails. The existing code attempts one forced
reconnect after a 15s ready-timeout, then throws if that also times
out — leaving the channel permanently dead until someone manually
restarts the service.

This commit replaces the immediate throw with an exponential-backoff
retry loop (up to 8 additional attempts, 15s → 30s → 60s → … → 5min
per attempt) that mirrors the behaviour of the post-connected
reconnect-stall watchdog. Recovery is self-healing once the network
comes back.

Fixes #51370
2026-03-21 10:09:00 +08:00
..
2026-03-20 19:24:10 +00:00
2026-03-19 03:36:03 +00:00