juggernaut
juggernaut copied to clipboard
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.
+1 I need this to run juggernaut in rails test environment, which connects to redis in a different port :thumbsup:
+1 this patch works well for connecting to a different host redis is running on
+1
+1
+1
+1
+1
:+1: I was seeing exactly this here...