草庐IT

ParseResult

全部标签

django - Heroku (Django) 上 redis_url 的字符串而不是 urlparse.ParseResult

非常感谢任何有将redis配置为heroku上celery-brokereddjango项目后端经验的人的意见。我的任务调度在localhost上运行良好,但我发现将它部署到heroku上真的很令人沮丧:目前我正在运行3个测功机、1个网络、1个调度程序和1个worker我将redistogo插件添加到我的项目中。Redistogo设置为免费nano计划,这为我提供了10个连接、1个数据库和一个5MB大小的实例我按照redistogo文档(https://devcenter.heroku.com/articles/redistogo#install-redis-in-python)来配置