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(su): fix su returing process on first from #1136

Merged
merged 1 commit into from
Feb 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions servers/su/src/domain/clients/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -916,12 +916,7 @@ impl DataStore for StoreClient {
// Determine if the 'from' timestamp matches the process timestamp and if assignment is present
let include_process = process_in.assignment.is_some()
&& match from {
Some(from_timestamp_str) => {
let from_timestamp = from_timestamp_str
.parse::<i64>()
.map_err(StoreErrorType::from)?;
from_timestamp == process_in.process.timestamp
}
Some(_) => false,
None => true, // No 'from' timestamp means it's the first page
};

Expand Down
Binary file modified servers/su/su
Binary file not shown.