Skip to content

Commit

Permalink
fix(su): fix process returning incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
VinceJuliano committed Jan 21, 2025
1 parent 247e2f1 commit f06ed81
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions servers/su/src/domain/clients/local_store/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -463,9 +463,7 @@ impl DataStore for LocalStoreClient {
*/
let include_process = process_in.assignment.is_some()
&& match from {
Some(ref from_timestamp) => {
from_timestamp != &process_in.timestamp()?.to_string()
},
Some(ref _from_timestamp) => false,
/*
No 'from' means it's the first page
*/
Expand Down
2 changes: 1 addition & 1 deletion servers/su/src/domain/clients/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ impl DataStore for StoreClient {
let from_timestamp = from_timestamp_str
.parse::<i64>()
.map_err(StoreErrorType::from)?;
from_timestamp != process_in.process.timestamp
from_timestamp == process_in.process.timestamp
}
None => true, // No 'from' timestamp means it's the first page
};
Expand Down
Binary file modified servers/su/su
Binary file not shown.

0 comments on commit f06ed81

Please sign in to comment.