Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use 'exports.createClient' because that's the function the user modif…

…ies to set host:port
  • Loading branch information...
commit ba05fe719cd8da9b10f05dbb93ec8b2ba7ce5422 1 parent f9cb4ed
@davibe davibe authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/redis.js
View
3  lib/redis.js
@@ -1,4 +1,3 @@
-
/*!
* kue - RedisClient factory
* Copyright (c) 2011 LearnBoost <tj@learnboost.com>
@@ -31,7 +30,7 @@ exports.createClient = function(){
*/
exports.client = function(){
- return exports._client || (exports._client = redis.createClient());
+ return exports._client || (exports._client = exports.createClient());
};
/**
Please sign in to comment.
Something went wrong with that request. Please try again.