-
-
Notifications
You must be signed in to change notification settings - Fork 428
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
Default client does not pass blocking
kwarg through lock method
#596
Comments
That is a |
Can you look again - it appears to be an error in the client lock() method. The redis-py lock allows the parameter. I checkd before submitting the issue and linked the link in the issue |
|
sorry, I thought you were using lock as context manager |
I would add |
Actually, if you are calling The We cannot use |
I would suggest to open an issue and maybe a PR in |
@WisdomPill that's not true: Therefore, I think your PR will solve it. |
Hello @aqeelat, I actually made the pr not long ago to be able to proceed with #603 in redis/redis-py#2137 :) |
Oh I just noticed that you're the one who made redis/redis-py#2137. |
no update on this ? |
Done, sorry for the long time needed |
Traceback:
This should be an acceptable kwarg per https://github.com/redis/redis-py/blob/3.5.3/redis/lock.py#L74 and the threading.Lock implementation.
It is not listed in the
lock
signature on the default client at https://github.com/jazzband/django-redis/blob/5.0.0/django_redis/client/default.py#L329The text was updated successfully, but these errors were encountered: