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