Skip to content

SMC-2209 - Add timeout on the client socket. - #11

Merged
JohanvdWest merged 2 commits into
masterfrom
feature/SMC-2209
Apr 23, 2021
Merged

JohanvdWest merged 2 commits into
masterfrom
feature/SMC-2209

Conversation

@JohanvdWest

Copy link
Copy Markdown

No description provided.

Comment thread lib/WebSocketConnection.js Outdated

// Make sure there is no socket inactivity timeout
this.socket.setTimeout(0);
this.socket.setTimeout(this.config.keepaliveInterval * 2.1);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a check for keepaliveInterval on line 116.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a check here as it is part of a different setup.

@JohanvdWest
JohanvdWest merged commit 1e6f3b4 into master Apr 23, 2021
@JohanvdWest
JohanvdWest deleted the feature/SMC-2209 branch April 23, 2021 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants