From 186a1bf16c7771c765021942bdcd54bf26395e78 Mon Sep 17 00:00:00 2001 From: stefanhellander <59477428+stefanhellander@users.noreply.github.com> Date: Thu, 16 May 2024 16:50:55 +0200 Subject: [PATCH] Bugfix/SK-846 (#604) * Set to offline if previous status was online or available --- fedn/network/combiner/combiner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedn/network/combiner/combiner.py b/fedn/network/combiner/combiner.py index f66e2af8f..8eacd917e 100644 --- a/fedn/network/combiner/combiner.py +++ b/fedn/network/combiner/combiner.py @@ -336,7 +336,7 @@ def _list_active_clients(self, channel): if status != "online": self.clients[client]["status"] = "online" clients["update_active_clients"].append(client) - elif status == "online": + elif status != "offline": self.clients[client]["status"] = "offline" clients["update_offline_clients"].append(client) # Update statestore with client status