await asyncio.sleep(5). @app.task. async def my_simple_task(*args, **kwargs):. await asyncio.sleep(5). 然后运行芹菜:$ celery worker -A ...
確定! 回上一頁