Celery worker hang when running with twisted
问题 Below code snippet is the celery setup I have, Here I am running a twisted reactor in each child celery worker process. import os from threading import Thread from celery import Celery from twisted.internet import threads, reactor from celery import signals from twisted.internet.defer import inlineCallbacks, returnValue from twisted.internet.task import LoopingCall app = Celery('tasks', broker='pyamqp://guest@localhost//') @signals.worker_process_init.connect def configure_infrastructure(*