Skip to content

Commit

Permalink
Change timeout of deamon_thread_client_status so that it doesn't matc…
Browse files Browse the repository at this point in the history
…h period of client online status cutoff of 10s
  • Loading branch information
stefanhellander committed May 14, 2024
1 parent c6bc269 commit 19d5638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fedn/network/combiner/combiner.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def _list_active_clients(self, channel):

return clients["active_clients"]

def _deamon_thread_client_status(self, timeout=10):
def _deamon_thread_client_status(self, timeout=5):
"""Deamon thread that checks for inactive clients and updates statestore."""
while True:
time.sleep(timeout)
Expand Down

0 comments on commit 19d5638

Please sign in to comment.