From a8e87d9f9f48b7f7605d25923979dcd9a40e862a Mon Sep 17 00:00:00 2001 From: hanhxiao Date: Fri, 6 Sep 2019 14:04:13 +0800 Subject: [PATCH] refactor(service): minimize event loop, move handling to handler --- gnes/service/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnes/service/base.py b/gnes/service/base.py index 81fc3e2a..d6d599d4 100644 --- a/gnes/service/base.py +++ b/gnes/service/base.py @@ -356,7 +356,7 @@ def _hook_debug_msg(self, msg: 'gnes_pb2.Message', *args, **kwargs): def _hook_add_route(self, msg: 'gnes_pb2.Message', *args, **kwargs): add_route(msg.envelope, self._model.__class__.__name__) self._msg_old_type = msg.WhichOneof('body') - self.logger.info('handling a message with route: %s using handler %s' % (router2str(msg), fn.__name__)) + self.logger.info('a message with route: %s' % router2str(msg)) @zmqd.context()