Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(server): correct getting messages by timestamp from unsaved_buffer #1570

Merged
merged 2 commits into from
Feb 21, 2025

Conversation

hubcio
Copy link
Contributor

@hubcio hubcio commented Feb 21, 2025

This commit fixed functionality to retrieve messages by timestamp
when all messages are stored in the unsaved buffer. The changes include
modifications to the BatchAccumulator and Segment structs to handle
timestamp-based retrieval efficiently. The get_messages_by_timestamp
method has been added to both strcuts, allowing for precise message
retrieval based on timestamps.

@hubcio hubcio force-pushed the timestamp-fix branch 2 times, most recently from 3ea3b10 to 296d837 Compare February 21, 2025 19:26
This commit fixed functionality to retrieve messages by timestamp
when all messages are stored in the unsaved buffer. The changes include
modifications to the `BatchAccumulator` and `Segment` classes to handle
timestamp-based retrieval efficiently. The `get_messages_by_timestamp`
method has been added to both classes, allowing for precise message
retrieval based on timestamps.
@spetz spetz merged commit 66db4c3 into master Feb 21, 2025
14 checks passed
@spetz spetz deleted the timestamp-fix branch February 21, 2025 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants