推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
vulntor
V2EX  ›  Python

celery 的结果存在 redis 里面 还要自己去 redis 取吗?

  •  
  •   vulntor · Aug 25, 2018 · 2075 views
  •   You need to sign in to view this topic
    This topic created in 2853 days ago, the information mentioned may be changed or developed.
    一个脚本调用任务是可以取结果的,但是我想在另外的机器上用 id 来取结果,发现任务执行完一段时间后就取不了了,状态变成 pending,但是结果在 redis 里躺着好好的。难道是要自己去 redis 里 get 吗?
    1 replies    2018-08-25 15:32:21 +08:00
    vulntor
        1
    vulntor  
    OP
       Aug 25, 2018
    是我自己 sb 了 代码里有一句 celery.control.purge()忘了注释 导致结果都清掉了 自作孽啊~~
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1097 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 81ms · UTC 18:21 · PVG 02:21 · LAX 11:21 · JFK 14:21
    ♥ Do have faith in what you're doing.