Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #82 from davibe/patch-1

Use 'exports.createClient' because that's the function the user modifies
  • Loading branch information...
commit f6ae6dccd2a453e4688a459a8e8e669c289effe9 2 parents f9cb4ed + ba05fe7
TJ Holowaychuk tj authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/redis.js
3  lib/redis.js
View
@@ -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.