def main(argv): msg_service = ServiceManager(DjangoHedwigWorker, num_workers=2) msg_service.start()
def main(argv): msg_service = ServiceManager(HedwigWorker, num_workers=1) msg_service.start(settings=hedwig_settings)