mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-23 05:35:48 +00:00
disable eslint for lines 538 - 548
This commit is contained in:
@@ -533,6 +533,8 @@ Server.prototype._retryConnect = function() {
|
||||
|
||||
this._retry += 1;
|
||||
|
||||
/*eslint-disable */
|
||||
|
||||
const retryTimeout = (this._retry < 40)
|
||||
// First, for 2 seconds: 20 times per second
|
||||
? (1000 / 20)
|
||||
@@ -545,6 +547,8 @@ Server.prototype._retryConnect = function() {
|
||||
// Then: once every 30 seconds
|
||||
: (30 * 1000);
|
||||
|
||||
/*eslint-enable */
|
||||
|
||||
function connectionRetry() {
|
||||
if (self._shouldConnect) {
|
||||
if (self._remote.trace) {
|
||||
|
||||
Reference in New Issue
Block a user