Closed simon-weber closed 2 years ago
Using a unix socket instead of tcp is useful for improving performance on same-machine clients. While it's not documented, it does seem possible to connect via a unix socket with a config like:
[server] path=/var/run/redis/redis-server.sock host=ignored port=ignored
It results in some misleading logging, though:
[INFO] [-] [redis] connected to redis://ignored:ignored
It might be worthwhile to document this and/or change how the logging works.
Indeed, a PR amending the documentation and the log message is welcome.
Using a unix socket instead of tcp is useful for improving performance on same-machine clients. While it's not documented, it does seem possible to connect via a unix socket with a config like:
It results in some misleading logging, though:
It might be worthwhile to document this and/or change how the logging works.