We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 794d412 commit 872f01fCopy full SHA for 872f01f
backend/onyx/connectors/confluence/connector.py
@@ -454,9 +454,12 @@ def _fetch_document_batches(
454
page_query = self._construct_page_query(checkpoint.last_updated or start, end)
455
logger.debug(f"page_query: {page_query}")
456
457
+ # most requests will include a few pages to skip, so we limit each page to
458
+ # 2 * batch_size to only need a single request for most checkpoint runs
459
for page in self.confluence_client.paginated_cql_retrieval(
460
cql=page_query,
461
expand=",".join(_PAGE_EXPANSION_FIELDS),
462
+ limit=2 * self.batch_size,
463
):
464
if page["id"] in prev_doc_ids:
465
# There are a few seconds of fuzziness in the request,
0 commit comments