Main: Sort hashed files before iterating
To ensure the start flag working properly it is required to have a deterministic order to start with the same vector of hashed files each run.
This commit is contained in:
parent
91da8d374b
commit
c8b2d6951b
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,8 @@ fn run() -> Result<()> {
|
|||
|
||||
let pool = ThreadPoolBuilder::new().num_threads(args.jobs as usize).build().unwrap();
|
||||
|
||||
hashed_files.sort();
|
||||
|
||||
let hashed_files_len = hashed_files.len();
|
||||
|
||||
if start != 0 {
|
||||
|
|
Loading…
Reference in a new issue