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 3baae2d commit 23f3520Copy full SHA for 23f3520
backend/onyx/connectors/slack/connector.py
@@ -837,7 +837,7 @@ def _load_from_checkpoint(
837
838
channel_message_ts = checkpoint.channel_completion_map.get(channel_id)
839
if channel_message_ts:
840
- latest = channel_message_ts
+ oldest = channel_message_ts
841
842
logger.debug(
843
f"Getting messages for channel {channel} within range {oldest} - {latest}"
@@ -855,7 +855,7 @@ def _load_from_checkpoint(
855
f"{latest=}"
856
)
857
858
- new_latest = message_batch[-1]["ts"] if message_batch else latest
+ new_latest = message_batch[0]["ts"] if message_batch else latest
859
860
num_threads_start = len(seen_thread_ts)
861
0 commit comments