async def _notify_new_member(self, request): self.ha_manager.add_living_member(proto_to_member(request.member)) async with self.member_updated_condition: self.member_updated_condition.notify_all() return notification_service_pb2.NotifyNewMemberResponse( return_code=notification_service_pb2.ReturnStatus.SUCCESS, return_msg='')
async def _notify_new_member(self, request): # this method is used in HA mode, so we just return here. return notification_service_pb2.NotifyNewMemberResponse( return_code=notification_service_pb2.ReturnStatus.SUCCESS, return_msg='')