@resolveio/server-lib 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server-app.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/server-lib",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {
package/server-app.js CHANGED
@@ -634,7 +634,7 @@ var ResolveIOMainServer = /** @class */ (function () {
634
634
  _this._wss.clients.forEach(function (ws) {
635
635
  if (ws['isAlive'] === false) {
636
636
  ws['retryCnt']++;
637
- if (ws['retryCnt'] >= 12) {
637
+ if (ws['retryCnt'] >= 60) {
638
638
  _this.unsubscribeWS(ws);
639
639
  ws.terminate();
640
640
  }