You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1d3a1af
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix(socket-mode): stop waiting on a close handshake Slack never completes (#2819)
Co-authored-by: Grmiade <jeremy@payfit.com>
Co-authored-by: Claude <svc-devxp-claude@slack-corp.com>
Fix `disconnect()` taking 5 seconds or more ([#2752](https://github.com/slackapi/node-slack-sdk/issues/2752)). Slack does not close the TCP connection after the close handshake, so `disconnect()` waited until the pong watchdog gave up and logged "A pong wasn't received". The close handshake now times out after 1 second, the heartbeat stops once the close frame is sent, and a close handshake started by Slack is cleaned up on the next heartbeat tick.
0 commit comments