From 20c17675eae41aea1323af3714265207fd512c63 Mon Sep 17 00:00:00 2001 From: Niklas Date: Fri, 26 Apr 2024 09:47:39 +0200 Subject: [PATCH] test to fix client sync issues (#591) --- fedn/fedn/network/combiner/combiner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedn/fedn/network/combiner/combiner.py b/fedn/fedn/network/combiner/combiner.py index dfe109f9e..b3b97fd6a 100644 --- a/fedn/fedn/network/combiner/combiner.py +++ b/fedn/fedn/network/combiner/combiner.py @@ -333,7 +333,7 @@ def _list_active_clients(self, channel): if (now - then) < timedelta(seconds=10): clients["active_clients"].append(client) # If client has changed status, update statestore - if status == "offline": + if status != "online": self.clients[client]["status"] = "online" clients["update_active_clients"].append(client) else: