strapi-community / strapi-plugin-redis

Plugin used to centralize management of Redis connections in Strapi
MIT License
41 stars 5 forks source link

Connect with sentinels 3 replicas node #19

Closed faceless49 closed 1 year ago

faceless49 commented 1 year ago

I want to connect a plugin with sentinels 3 nodes Is this possible? like here https://github.com/strapi-community/strapi-plugin-redis

How I should connect with sentinels? I tried redis: { config: { connections: { default: { connections: { sentinels: [{ {host: "master", port: 6379}, {host: "sentinel" port: 6379}]. and "rest-cache": { config: { provider: { name: 'redis', options: { max: 32767, connection: 'default' }, },

It gives the error that connection default not found. image