Skip to content

Commit

Permalink
Fix a couple of nits with the timestamp additions.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisstaite-menlo authored and allada committed Jul 2, 2023
1 parent d30571e commit b320de5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cas/scheduler/action_messages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub struct ActionInfo {
pub platform_properties: PlatformProperties,
/// The priority of the action. Higher value means it should execute faster.
pub priority: i32,
/// When this action started to be loaded from the CAS
/// When this action started to be loaded from the CAS.
pub load_timestamp: SystemTime,
/// When this action was created.
pub insert_timestamp: SystemTime,
Expand Down
2 changes: 1 addition & 1 deletion cas/worker/running_actions_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -742,9 +742,9 @@ impl RunningAction for RunningActionImpl {
output_folders.sort_unstable_by(|a, b| a.path.cmp(&b.path));
output_file_symlinks.sort_unstable_by(|a, b| a.name_or_path.cmp(&b.name_or_path));
output_directory_symlinks.sort_unstable_by(|a, b| a.name_or_path.cmp(&b.name_or_path));
execution_metadata.worker_completed_timestamp = (self.running_actions_manager.now_fn)();
{
let mut state = self.state.lock().await;
execution_metadata.worker_completed_timestamp = (self.running_actions_manager.now_fn)();
state.action_result = Some(ActionResult {
output_files,
output_folders,
Expand Down

0 comments on commit b320de5

Please sign in to comment.