diff --git a/backend/onyx/connectors/discourse/connector.py b/backend/onyx/connectors/discourse/connector.py index 807095b92cd..12772542b62 100644 --- a/backend/onyx/connectors/discourse/connector.py +++ b/backend/onyx/connectors/discourse/connector.py @@ -182,8 +182,6 @@ def _get_latest_topics( continue topic_ids.append(topic["id"]) - if len(topic_ids) >= self.batch_size: - break return topic_ids