Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Use 'exports.createClient' because that's the function the user modifies #82

Merged
merged 1 commit into from

2 participants

@davibe

Use 'exports.createClient' because that's the function the user modifies to set host:port

Otherwise user choices have no effect.

@tj tj merged commit f6ae6dc into Automattic:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 1, 2011
  1. @davibe
This page is out of date. Refresh to see the latest.
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());
};
/**
Something went wrong with that request. Please try again.