Closed quentin-st closed 3 years ago
I never tried it, but it should be possible to use a host
parameter for specifying a unix socket (port should be omitted then, or set to NULL). Could you please try and let me know if it works?
Thanks for your answer!
I tried setting the port
parameter to ~
(null), but I'm getting the following error on cache clear:
Invalid type for path "artprima_prometheus_metrics.redis.port". Expected int, but got NULL.
When omitting this parameter, I'm getting this one at runtime:
php_network_getaddresses: getaddrinfo failed: Name or service not known
Ok, I see. I will fix this, as soon as I get time. Alternatively, you may want to provide a pull request. It should be a small fix.
The documentation mentions the configuration keys that should be used when connecting to a Redis instance through TCP (host & port). What if we'd like to use a TCP socket for lightning fast local connections?