src/exchanges/gemini-client.js
/**
   * Checks if a reconnecton is required by comparing the current
   * date to the last receieved message date
   */
Checks if a reconnecton is required by comparing the current
date to the last receieved message date
Checks if a reconnecton is required by comparing the current date to the last receieved message date
_onReconnectCheck(subscription) {
    if (
      !subscription.lastMessage ||
      subscription.lastMessage < Date.now() - this.reconnectIntervalMs
    ) {
      this._reconnect(subscription);
    }
  }
_onReconnectCheck ( subscription ) { if ( ! subscription . lastMessage || subscription . lastMessage < Date . now ( ) - this . reconnectIntervalMs ) { this . _reconnect ( subscription ) ; } }
Checks if a reconnecton is required by comparing the current
 date to the last receieved message date
Checks if a reconnecton is required by comparing the current date to the last receieved message date