From e9d1bdb9b76925b3a2a53470e0b0cbf60903b88f Mon Sep 17 00:00:00 2001 From: wuaho Date: Wed, 28 Jul 2021 19:48:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=8F=E5=B0=91=E6=89=B9=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 3173289..e2b09c4 100644 --- a/app.py +++ b/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, 10000, 60) + transmitter.add_source(handler_event, 5000, 60) transmitter.add_source(handler_user, 99, 60) last_ts = int(time.time()) consumer = create_consumer(self.partition)