From 37ea2ff42a95a3c10d73f5e53ce34c75d1067a7f Mon Sep 17 00:00:00 2001 From: Yuhong Sun Date: Sun, 27 Oct 2024 19:58:13 -0700 Subject: [PATCH] k --- backend/danswer/connectors/slack/connector.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/danswer/connectors/slack/connector.py b/backend/danswer/connectors/slack/connector.py index f5728950e4f..92b5a0b7558 100644 --- a/backend/danswer/connectors/slack/connector.py +++ b/backend/danswer/connectors/slack/connector.py @@ -441,6 +441,7 @@ def poll_source( current = time.time() one_day_ago = current - 24 * 60 * 60 # 1 day + document_batches = connector.poll_source(one_day_ago, current) print(next(document_batches))