Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想让一个工人运行 X 个任务,然后退出。我找不到办法做到这一点。我该怎么做呢?
提前致谢
CELERYD_MAX_TASKS_PER_CHILD:
CELERYD_MAX_TASKS_PER_CHILD
池工作进程在被新进程替换之前可以执行的最大任务数。默认为无限制。