Skip to content

Commit

Permalink
active clients needs to be online
Browse files Browse the repository at this point in the history
  • Loading branch information
niklastheman committed Oct 31, 2023
1 parent 7b64d3e commit 74030a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fedn/fedn/network/statestore/mongostatestore.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ def list_combiners_data(self, combiners, sort_key="count", sort_order=pymongo.DE
try:

pipeline = [
{"$match": {"combiner": {"$in": combiners}}},
{"$match": {"combiner": {"$in": combiners}, "status": "online"}},
{"$group": {"_id": "$combiner", "count": {"$sum": 1}}},
{"$sort": {sort_key: sort_order, "_id": pymongo.ASCENDING}}
] if combiners is not None else [
Expand Down

0 comments on commit 74030a6

Please sign in to comment.