V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · 2021 views
    This topic created in 2811 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   ·   955 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 20:08 · PVG 04:08 · LAX 13:08 · JFK 16:08
    ♥ Do have faith in what you're doing.