10 lines
263 B
Python
10 lines
263 B
Python
from threading import Thread
|
|
|
|
|
|
class Worker(Thread):
|
|
def __init__(self, configs, params):
|
|
super(Worker, self).__init__()
|
|
self.stop = params['events']['stop']
|
|
self.diary = params['queues']['log']
|
|
self.logger = params['logging']
|