celery: процессам daemoni c запрещено иметь детей (с concurrent.futures) - PullRequest
0 голосов
/ 15 апреля 2020

В Python (3.6) Я пытаюсь создать процессы (с многопроцессорной обработкой) в задаче сельдерея (сельдерея 3.1.17), но выдает ошибку:

daemonic processes are not allowed to have children

код

def mp():
  with concurrent.futures.ProcessPoolExecutor(max_workers=90) as executor:
                    data = executor.map(pdfocr,[no for no in list(json.keys())])
...