Skip to content

Commit

Permalink
Fix race condition in hydra-compress-logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Mar 2, 2025
1 parent 18c0d76 commit f1deb22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos-modules/hydra.nix
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ in
elif [[ $compression == zstd ]]; then
compression="zstd --rm"
fi
find ${baseDir}/build-logs -type f -name "*.drv" -mtime +3 -size +0c | xargs -r "$compression" --force --quiet
find ${baseDir}/build-logs -ignore_readdir_race -type f -name "*.drv" -mtime +3 -size +0c | xargs -r "$compression" --force --quiet
'';
startAt = "Sun 01:45";
};
Expand Down

0 comments on commit f1deb22

Please sign in to comment.