index.js
function getRedisOptions() {
    var defaults = {
      debug: false,
      certExpiry: 100 * 60 * 60 * 24, // all cert data expires after 100 days
      redisOptions: {
        db: 3,
        retry_strategy: function(options) {
          // reconnect after 60 seconds, keep trying forever
          return 60 * 1000;
        }
      }
    };
    var mergedOptions = _.merge(defaults, options);

    _debug('le-store-redis.getRedisOptions', mergedOptions);

    return mergedOptions;
  }
function getRedisOptions() {
    var defaults = {
      debug: false,
      certExpiry: 100 * 60 * 60 * 24, // all cert data expires after 100 days
      redisOptions: {
        db: 3,
        retry_strategy: function(options) {
          // reconnect after 60 seconds, keep trying forever
          return 60 * 1000;
        }
      }
    };
    var mergedOptions = _.merge(defaults, options);

    _debug('le-store-redis.getRedisOptions', mergedOptions);

    return mergedOptions;
  }
function getRedisOptions ( ) { var defaults = { debug : false , certExpiry : 100 * 60 * 60 * 24 , // all cert data expires after 100 days redisOptions : { db : 3 , retry_strategy : function ( options ) { // reconnect after 60 seconds, keep trying forever return 60 * 1000 ; } } } ; var mergedOptions = _ . merge ( defaults , options ) ; _debug ( 'le-store-redis.getRedisOptions' , mergedOptions ) ; return mergedOptions ; }
Gets the default options merged with the options passed to the plugin.

@return {Object} default options overlayed with provided options.
Gets the default options merged with the options passed to the plugin .