Skip to content

Commit

Permalink
Merge pull request #19 from dmfrancisco/patch-1
Browse files Browse the repository at this point in the history
Fixed argument order for redis
  • Loading branch information
josephg committed Jul 8, 2011
2 parents 2cdc582 + 375d6e1 commit 5dd9f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/db/redis.coffee
Expand Up @@ -30,7 +30,7 @@ module.exports = RedisDb = (options) ->
keyForOps = (docName) -> "#{options.prefix}ops:#{docName}"
keyForDoc = (docName) -> "#{options.prefix}doc:#{docName}"

client = redis.createClient options.hostname, options.port, options.redisOptions
client = redis.createClient options.port, options.hostname, options.redisOptions

client.select 15 if options.testing

Expand Down

0 comments on commit 5dd9f0b

Please sign in to comment.