def start_workers(data_queues, settings, job_queue): global threads main_logger.info("Starting Workers") worker = Worker(data_queues, settings, job_queue) worker.daemon = True worker.start() threads.append({'name': 'Workers', 'thread': worker}) return worker
def start_workers(data_queues, settings, job_queue): main_logger.info("Starting Workers") worker = Worker(data_queues, settings, job_queue) worker.daemon = True worker.start() return worker