diff options
author | 2019-04-10 21:38:03 +0200 | |
---|---|---|
committer | 2019-04-10 21:38:03 +0200 | |
commit | 70563e50ca4cfb0bf4d8c111069b2ad2e64a7b59 (patch) | |
tree | efb20341fed06a379ef8372f7fb22ab9d9c69acc /src | |
parent | optimize edit buttons (diff) | |
download | ferdium-app-70563e50ca4cfb0bf4d8c111069b2ad2e64a7b59.tar.gz ferdium-app-70563e50ca4cfb0bf4d8c111069b2ad2e64a7b59.tar.zst ferdium-app-70563e50ca4cfb0bf4d8c111069b2ad2e64a7b59.zip |
minor clean up
Diffstat (limited to 'src')
-rwxr-xr-x | src/features/settingsWS/store.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/features/settingsWS/store.js b/src/features/settingsWS/store.js index 21fd3440e..3cc74d8ef 100755 --- a/src/features/settingsWS/store.js +++ b/src/features/settingsWS/store.js | |||
@@ -70,9 +70,6 @@ export class SettingsWSStore extends Store { | |||
70 | debug('Heartbeat'); | 70 | debug('Heartbeat'); |
71 | clearTimeout(this.pingTimeout); | 71 | clearTimeout(this.pingTimeout); |
72 | 72 | ||
73 | // Use `WebSocket#terminate()` and not `WebSocket#close()`. Delay should be | ||
74 | // equal to the interval at which your server sends out pings plus a | ||
75 | // conservative assumption of the latency. | ||
76 | this.pingTimeout = setTimeout(() => { | 73 | this.pingTimeout = setTimeout(() => { |
77 | debug('Terminating connection reconnecting in 35'); | 74 | debug('Terminating connection reconnecting in 35'); |
78 | this.ws.terminate(); | 75 | this.ws.terminate(); |