Don't debounce reconnect
on leading edge
Otherwise we can get into a situation where Converse stops trying to reconnect.
This commit is contained in:
parent
a95bb5b26a
commit
886ff1bd19
@ -748,7 +748,7 @@ _converse.initialize = async function (settings, callback) {
|
||||
_converse.connection.reconnecting = true;
|
||||
_converse.tearDown();
|
||||
_converse.logIn(null, true);
|
||||
}, 2000, {'leading': true});
|
||||
}, 2000);
|
||||
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user