phoenixframework / phoenix_pubsub_redis

The Redis PubSub adapter for the Phoenix framework
175 stars 66 forks source link

Allow socket opts on ssl #43

Closed thiamsantos closed 4 years ago

thiamsantos commented 4 years ago

Motivation

We use Redis Secure connections with self-signed certificates, because of that we need to customize the socket_opts that redix uses to establish the connection. But currently the phoenix_pubsub_redis doesn't allow to passing this options down to redix.

Proposed solution

Allow the socket_opts to be passed.

thiamsantos commented 4 years ago

Also, would be possible to publish a version of 2.1 with those changes? They are essential for our production deployment. As this is the current stable version. cc: @mitchellhenke @chrismccord