Skip to content

Commit 049625d

Browse files
d-s-ecarltongibson
authored andcommitted
Document unix socket format (#154)
* Added missing LICENSE to distribution * added documentation for unix socket format Signed-off-by: Guenther Meyer <[email protected]>
1 parent 4a212bd commit 049625d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ The server(s) to connect to, as either URIs, ``(host, port)`` tuples, or dicts c
4040
Defaults to ``['localhost', 6379]``. Pass multiple hosts to enable sharding,
4141
but note that changing the host list will lose some sharded data.
4242

43+
If your server is listening on a UNIX domain socket, you can also use that to connect: ``["unix:///path/to/redis.sock"]``.
44+
This should be slightly faster than a loopback TCP connection.
45+
4346
``prefix``
4447
~~~~~~~~~~
4548

0 commit comments

Comments
 (0)