首页 > 解决方案 > Celery + Cache 的 Django / Redis 路径

问题描述

我需要多个 Redis 路径吗?我将 Celery 与 Redis 一起使用,但也使用 django-redis 进行缓存。

做这样的事情是正确的:

芹菜: redis://127.0.0.1:6379/0

缓存: redis://127.0.0.1:6379/1

或者他们使用相同的路径是否正常?

标签: pythondjangoredis

解决方案


推荐阅读