diff --git a/fedn/fedn/network/statestore/mongostatestore.py b/fedn/fedn/network/statestore/mongostatestore.py index 545ca9749..0047615e4 100644 --- a/fedn/fedn/network/statestore/mongostatestore.py +++ b/fedn/fedn/network/statestore/mongostatestore.py @@ -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 [