Skip to content

Commit

Permalink
using settings.options as options in redis.createClient
Browse files Browse the repository at this point in the history
  • Loading branch information
taoyuan committed Mar 24, 2014
1 parent edd6c93 commit 70272ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/adapters/redis.js
Expand Up @@ -16,7 +16,7 @@ exports.initialize = function initializeRedis(store, callback) {
if (settings.client instanceof redis.RedisClient) {
client = settings.client;
} else {
client = redis.createClient(settings.port, settings.host, settings);
client = redis.createClient(settings.port, settings.host, settings.options);
client.on('connect', function () {
if (settings.database) {
client.select(settings.database, done);
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "kvs",
"version": "0.0.1-4",
"version": "0.0.2",
"description": "Simple key-value store facade for node.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 70272ea

Please sign in to comment.