减少批量
This commit is contained in:
parent
e9d1bdb9b7
commit
41638d385c
2
app.py
2
app.py
@ -24,7 +24,7 @@ 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.add_source(handler_event, 5000, 60)
|
||||
transmitter.add_source(handler_event, 2000, 60)
|
||||
transmitter.add_source(handler_user, 99, 60)
|
||||
last_ts = int(time.time())
|
||||
consumer = create_consumer(self.partition)
|
||||
|
Loading…
Reference in New Issue
Block a user