aboutsummaryrefslogtreecommitdiffstats
path: root/redis.js
blob: 717edc03d647bb945fffcc7128d9ad39554100b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
(function() {
  var Promise, settings;

  Promise = require('bluebird');

  settings = {
    port: 6379,
    host: '127.0.0.1'
  };

  module.exports = Promise.promisifyAll(require('redis')).createClient(settings.port, settings.host);

}).call(this);