This commit is contained in:
2020-11-12 00:35:04 -03:00
parent 0cdad8ac4c
commit 9adafbae13
7 changed files with 263 additions and 1 deletions

9
src/worker.py Normal file
View 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']