-
-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Redis configuration #113
Comments
Can you push a PR or should i just change it for you? |
My Problem is, so far I haven't been able to get the URL syntax to accept a password for |
By using a connection URL, it is possible to support all Predis features, like passwords, unix sockets, database selection, etc. Tested with TCP and unix socket connections. Closes the-djmaze#113
Although i merged and closed this issue, i'm reverting your changes for compatibility. Trick will now become: I also made this change to Memcache driver. |
The
redis
configuration allows a host and port to be set via thefast_cache_redis_host
andfast_cache_redis_port
variables.However, it isn't currently possible to define a
password
and thedatabase
to use (see theConnecting to a database
section here).I tried hardcoding a
password
by modifyingfunction __construct
inapp/libraries/MailSo/Cache/Drivers/Redis.php
from:to:
...and it worked. Would it be possible to add two more variables (
fast_cache_redis_password
andfast_cache_redis_database
) tosnappymail
?The text was updated successfully, but these errors were encountered: