8dd0e80f29
The cherry-picked commit added an `event_silence` probe dimension stamped from `on_socket_raw_receive`. Two verified problems make it a regression rather than a fix: - discord.py 2.7.1 dispatches `socket_raw_receive` only when the client is built with `enable_debug_events=True` (client.py:330, gateway.py:410-412; the default `log_receive` is a no-op). The adapter never sets it, so the stamp only ever moves at `on_ready` and every healthy connection reads `event_silence` 300s later — a forced reconnect every ~5 min. Live-verified against a real `commands.Bot` + `DiscordWebSocket.received_message`: 6 frames delivered, stamp unchanged, probe unhealthy. - discord.py already keeps a per-frame clock (`KeepAliveHandler._last_recv`) and closes the socket itself after `heartbeat_timeout` without frames; and because ACKs are frames, `ack_stale` (60s) always trips before `event_silence` (300s). A raw-frame stamp cannot detect the "ESTAB + ACKing + zero events" incident by construction. Kept and tightened the warning half: bool values (`float(True) == 1.0` silently enabled a knob at 1s), negative ints, and unparsable strings now warn; an explicit `0` is the documented opt-out and stays silent. Tests trimmed to the two invariant contracts (warn / don't warn), proven red on origin/main. Docs updated to match.