python - Celery + Cache 的 Django / Redis 路径
问题描述
我需要多个 Redis 路径吗?我将 Celery 与 Redis 一起使用,但也使用 django-redis 进行缓存。
做这样的事情是正确的:
芹菜:
redis://127.0.0.1:6379/0
缓存:
redis://127.0.0.1:6379/1
或者他们使用相同的路径是否正常?
解决方案
推荐阅读
- haproxy - 在 HAProxy 中缓存静态内容
- python - 如何使用 selenium 和 Python 检索类中的值
- selenium - 机器人框架以不同用户身份运行
- html - 带有来自底层 div 的背景图像的文本
- python - COCO .json 文件的注释中包含奇怪的分段值,如何转换这些值?
- permissions - 如何在 discord.py 中编辑角色权限?
- javascript - 如何在我的第一页 HTML 上限制我的 Javascript 代码?
- amazon-web-services - MS Graph Webhook 只能调用公共 API 吗?
- json - 如何保存 JSON 对象并在另一个请求中使用它?
- reactjs - 无法使用 'useStoreState 在 react easy-peasy 中访问状态