code: function retryStrategy (ravelInstance) {
    return function (options) {
      const code = options.error ? options.error.code : 'Reason Unknown';
      if (code === 'ECONNREFUSED') {
        // End reconnecting on a specific error and flush all commands with a individual error
        ravelInstance.$log.error(`Lost connection to redis: ${code}.`);
        return new $err.General(`Lost connection to redis: ${code}.`);
      } else if (options.attempt > ravelInstance.get('redis max retries')) {
        ravelInstance.$log.error(`Lost connection to redis: ${code}. Max retry attempts exceeded.`);
        // End reconnecting with built in error
        return new $err.General(
          `Lost connection to redis: ${code}. Max retry attempts reached.`);
      } else {
        const time = Math.pow(options.attempt, 2) * 100;
        ravelInstance.$log.error(`Lost connection to redis: ${code}. Reconnecting in ${time} milliseconds.`);
        // reconnect after
        return time;
      }
    };
  }
docs: /*!
  Reconnection strategy for redis