mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
dependencies: Upgrade eslint from 6.0.1 to 6.6.0.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
2eba3e7827
commit
ffe8ec3450
@@ -288,7 +288,7 @@ Socket.prototype = {
|
||||
opts = _.extend({wait_time: 0, reason: 'none_given'}, opts);
|
||||
const that = this;
|
||||
|
||||
const now = (new Date()).getTime();
|
||||
const now = new Date().getTime();
|
||||
if (this._is_reconnecting && now - this._reconnect_initiation_time < 1000) {
|
||||
// Only try to reconnect once a second
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user