@firebase/database 1.0.11-canary.01f36ea41 → 1.0.11-canary.105d248bd

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1251,7 +1251,7 @@ WebSocketConnection.responsesRequiredToBeHealthy = 2;
1251
1251
  WebSocketConnection.healthyTimeout = 30000;
1252
1252
 
1253
1253
  const name = "@firebase/database";
1254
- const version = "1.0.11-canary.01f36ea41";
1254
+ const version = "1.0.11-canary.105d248bd";
1255
1255
 
1256
1256
  /**
1257
1257
  * @license
@@ -3745,7 +3745,7 @@ class PersistentConnection extends ServerActions {
3745
3745
  }
3746
3746
  this.lastConnectionEstablishedTime_ = null;
3747
3747
  }
3748
- const timeSinceLastConnectAttempt = Math.max(0, new Date().getTime() - this.lastConnectionAttemptTime_);
3748
+ const timeSinceLastConnectAttempt = new Date().getTime() - this.lastConnectionAttemptTime_;
3749
3749
  let reconnectDelay = Math.max(0, this.reconnectDelay_ - timeSinceLastConnectAttempt);
3750
3750
  reconnectDelay = Math.random() * reconnectDelay;
3751
3751
  this.log_('Trying to reconnect in ' + reconnectDelay + 'ms');