1
This commit is contained in:
parent
a6991c3421
commit
eef92b3fdc
2
app.py
2
app.py
@ -26,8 +26,10 @@ class XProcess(Process):
|
||||
handler_user = HandlerUser(db_client, settings.GAME)
|
||||
transmitter = Transmitter(db_client, settings.GAME, sketch, self.log, self.lock, self.event_attr,
|
||||
self.partition)
|
||||
transmitter.start_ping()
|
||||
transmitter.add_source(handler_event, 5000, 60)
|
||||
transmitter.add_source(handler_user, 500, 60)
|
||||
|
||||
last_ts = int(time.time())
|
||||
consumer, kafka_client = create_consumer(self.partition)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user