maccman/juggernaut — pull request #118 by benlong (2012-01-27 22:37:50+00:00)
Title: Added support for Redis host and port arguments

Updated server.js to accept --redisport and --redishost arguments.

Values are passed to listen(), and normalized to defaults. From here forwarded along through the application.

A minor 'refactorish' change: Events.client is no longer created inline. Instead publish inits channel which inits event with proper redis information.

--

We're using this in production today. I'm interested in feedback/drawbacks of the implementation. I have another patch that allows the use of Redis.namespace for namespaced redis instances.