examples/custom-server-actionhero/config/redis.js
function retryStrategy (times) {
      if (times === 1) {
        const error =
          'Unable to connect to Redis - please check your Redis config!'
        if (process.env.NODE_ENV === 'test') {
          console.error(error)
        } else {
          api.log(error, 'error')
        }
        return 5000
      }
      return Math.min(times * 50, maxBackoff)
    }
function retryStrategy (times) {
      if (times === 1) {
        const error =
          'Unable to connect to Redis - please check your Redis config!'
        if (process.env.NODE_ENV === 'test') {
          console.error(error)
        } else {
          api.log(error, 'error')
        }
        return 5000
      }
      return Math.min(times * 50, maxBackoff)
    }
function retryStrategy ( times ) { if ( times === 1 ) { const error = 'Unable to connect to Redis - please check your Redis config!' if ( process . env . NODE_ENV === 'test' ) { console . error ( error ) } else { api . log ( error , 'error' ) } return 5000 } return Math . min ( times * 50 , maxBackoff ) }
konstructor: The redis client constructor method.  All redis methods must be promises args: The arguments to pass to the constructor buildNew: is it `new konstructor()` or just `konstructor()`?
konstructor : The redis client constructor method . All redis methods must be promises args : The arguments to pass to the constructor buildNew : is it new konstructor () or just konstructor () ?