Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Cichra committed Jan 5, 2015
1 parent 7ee7ba4 commit 64ec99b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/concurredis.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ local expand_gmatch = function(text, match)
return result
end

concurredis.host = os.getenv('DB_PORT_6379_TCP_ADDR') os.getenv('REDIS_PORT_6379_TCP_ADDR') or os.getenv("SLUG_REDIS_HOST")
concurredis.host = os.getenv('DB_PORT_6379_TCP_ADDR') or os.getenv('REDIS_PORT_6379_TCP_ADDR') or os.getenv("SLUG_REDIS_HOST")
concurredis.port = os.getenv('DB_PORT_6379_TCP_PORT') or os.getenv("SLUG_REDIS_PORT") or 6379

ngx.log(ngx.INFO, "Using redis server: " .. tostring(concurredis.host) .. ":" .. tostring(concurredis.port))
Expand Down

0 comments on commit 64ec99b

Please sign in to comment.