Src
This commit is contained in:
9
src/worker.py
Normal file
9
src/worker.py
Normal file
@ -0,0 +1,9 @@
|
||||
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']
|
Reference in New Issue
Block a user