Celery task that runs more tasks

后端 未结 4 1307
渐次进展
渐次进展 2021-02-04 23:38

I am using celerybeat to kick off a primary task that kicks of a number of secondary tasks. I have both tasks written already.

Is there a way to easily do this? Does Ce

4条回答
  •  抹茶落季
    2021-02-05 00:20

    For the IOError mentioned, although the information here is not sufficient to tell what caused it, my guess is that you tried to establish a connection inside the task function, so whenever a task is called, a new connection is built. If the task is to be called thousand times, there will be thousand connections. This will flood the system socket manager and the IOError is its complaint.

提交回复
热议问题