Skip to content

Commit

Permalink
make sure we do not run any entries created after we started iteratin…
Browse files Browse the repository at this point in the history
…g on the queue
  • Loading branch information
R9295 committed Jun 20, 2024
1 parent 0ec6442 commit d0d12e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/cargo-ziggy/fuzz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ impl Fuzz {
let created = entry.metadata()?.created()?;
let should_run = match cov_worker_last_run {
None => true,
Some(start_time) => start_time < created,
Some(start_time) => start_time < created && last_run >= created,
};
if should_run {
cov_message_tx.send(format!("running {}", entry.display()))?;
Expand Down

0 comments on commit d0d12e5

Please sign in to comment.