Skip to content
Browse files

refactor(service): minimize event loop, move handling to handler

  • Loading branch information...
hanxiao committed Sep 6, 2019
1 parent f5dac7a commit a8e87d9f9f48b7f7605d25923979dcd9a40e862a
Showing with 1 addition and 1 deletion.
  1. +1 −1 gnes/service/
@@ -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')'handling a message with route: %s using handler %s' % (router2str(msg), fn.__name__))'a message with route: %s' % router2str(msg))


0 comments on commit a8e87d9

Please sign in to comment.
You can’t perform that action at this time.