fix: use handshake timeout
This commit is contained in:
@@ -28,6 +28,7 @@ export const makeSocket = ({
|
||||
}: SocketConfig) => {
|
||||
const ws = new WebSocket(waWebSocketUrl, undefined, {
|
||||
origin: DEFAULT_ORIGIN,
|
||||
handshakeTimeout: connectTimeoutMs,
|
||||
timeout: connectTimeoutMs,
|
||||
agent
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user