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