-
-
Notifications
You must be signed in to change notification settings - Fork 285
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
USE_REDIS_CACHE with Django 4.0's native Redis backend? #571
Comments
I'm interested too. |
Ok, it fails indeed. I got this stacktrace:
So, I changed the django-rq settings like this:
And everything works fine. |
@rstmsn @obi-jerome I'd love to have a PR to implement this. |
@selwin @rstmsn @obi-jerome can you guys please give me a hint "What is that changes?" |
@mohamed99elsokary The native cache backend allows us to have one less dependency and to rely on the work of the Django Project that will probably give us a cache backend that is more reliable, integrated and performant, I guess. It would be cool if django-rq was compatible with the Native Redis Backend configuration. |
Django has native support for Redis since version 4.0 via the
django.core.cache.backends.redis.RedisCache
backend.If I create a Django cache, as follows:
Is it possible to configure
django-rq
to use this redis connection, using theUSE_REDIS_CACHE
option?The text was updated successfully, but these errors were encountered: