Commit f8a9cbc
fix(feishu): add WebSocket heartbeat config to prevent silent disconnection
Without wsConfig, the Feishu WebSocket connection silently drops after
extended idle periods — the connection object remains alive but stops
receiving messages. This causes the bot to miss all incoming messages
until a gateway restart.
Add PingInterval (30s) and PingTimeout (5s) to createFeishuWSClient()
to enable keep-alive pings on the WebSocket connection.
Ref: larksuiteoapi/node-sdk#423541 parent c30cabc commit f8a9cbc
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
167 | 171 | | |
168 | 172 | | |
169 | 173 | | |
| |||
0 commit comments