You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
At the moment I'm not really sure if django-defender is compatible with redis through unix socket. django-defender uses a custom parse_redis_url function (
I think that makes sense. If you submit the PR, please also add the unit tests to cover socket and URL based redis urls.
I have to check which redis version we require today, to see if that is a big jump or not. If too big I wonder if we make a larger bump to the version so people are aware it is a bigger change.
Hi,
At the moment I'm not really sure if django-defender is compatible with redis through unix socket. django-defender uses a custom
parse_redis_url
function (django-defender/defender/connection.py
Line 47 in bb122f2
This results in the following parsing error when using
DEFENDER_REDIS_URL = "unix://run/redis/redis.sock"
:Shouldn't you use
redis.Redis.from_url
method instead ? This should require redis-py >=2.7.0.If you're ok with this approach I can do the PR.
The text was updated successfully, but these errors were encountered: