Skip to content

Commit

Permalink
Backport Test 5 (#2969)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhongsun96 authored Oct 28, 2024
1 parent e2c4c07 commit d8ad3e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/danswer/connectors/slack/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

0 comments on commit d8ad3e7

Please sign in to comment.