From 86242feed80236d16f07ce1892469ad097a71700 Mon Sep 17 00:00:00 2001 From: zed <928255708@qq.com> Date: Sun, 10 Apr 2022 15:56:28 +0800 Subject: [PATCH] [debug] fix missing param request in async client --- fedlab/core/client/manager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fedlab/core/client/manager.py b/fedlab/core/client/manager.py index f8a2cad5..cf9f0f11 100644 --- a/fedlab/core/client/manager.py +++ b/fedlab/core/client/manager.py @@ -114,7 +114,8 @@ def main_loop(self): while True: # request model actively self._LOGGER.info("request parameter procedure") - + self._network.send(message_code=MessageCode.ParameterRequest, src=0) + # waits for data from sender_rank, message_code, payload = self._network.recv(src=0) # sender_rank, message_code, payload = PackageProcessor.recv_package(src=0)