disqus/nydus — pull request #10 by patricklucas (2012-04-24 23:02:08+00:00)
Title: Enable use of unix_socket_path feature

Specify 'unix_socket_path' as a configuration option for a host to by unix socket rather than TCP.

This change simply adds unix_socket_path as a redis configuration option and passes it on to redis-py, which will only use its value (and ignore host/port) if it is specified. (so forwarding the option is sufficient, nydus doesn't need logic to decide whether to send the option)