Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-08-27 14:07:19 +0300
committerJoas Schilling <coding@schilljs.com>2020-08-27 14:13:41 +0300
commit77e538b1cb581de4dfcdc1668b6ae07fab61b679 (patch)
treeced66d7fa3898e29328d7089ecb5af380a916487 /src/utils/signaling.js
parent692d65b536f4e0f75a92ea0a7b2a923a88901daa (diff)
Fix permanent timeout
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/utils/signaling.js')
-rw-r--r--src/utils/signaling.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/signaling.js b/src/utils/signaling.js
index 746fe7dbf..94a97266d 100644
--- a/src/utils/signaling.js
+++ b/src/utils/signaling.js
@@ -558,7 +558,7 @@ Signaling.Standalone.prototype.connect = function() {
&& this.signalingConnectionWarning === null) {
this.signalingConnectionTimeout = setTimeout(() => {
this.signalingConnectionWarning = showWarning(t('spreed', 'Establishing signaling connection is taking longer than expected …'), {
- timeout: 0,
+ timeout: -1,
})
}, 2000)
}
@@ -601,7 +601,7 @@ Signaling.Standalone.prototype.connect = function() {
}
if (this.signalingConnectionError === null) {
this.signalingConnectionError = showError(t('spreed', 'Failed to establish signaling connection. Retrying …'), {
- timeout: 0,
+ timeout: -1,
})
}
this.reconnect()