diff --git a/rslib/src/media/check.rs b/rslib/src/media/check.rs index 3c5f479a2..8e995c5e0 100644 --- a/rslib/src/media/check.rs +++ b/rslib/src/media/check.rs @@ -257,7 +257,7 @@ where fn maybe_fire_progress_cb(&mut self) -> Result<()> { let now = Instant::now(); - if now.duration_since(self.progress_updated).as_secs() < 1 { + if now.duration_since(self.progress_updated).as_f64() < 0.15 { return Ok(()); } self.progress_updated = now; diff --git a/rslib/src/media/sync.rs b/rslib/src/media/sync.rs index f12a9bbee..7ce57c126 100644 --- a/rslib/src/media/sync.rs +++ b/rslib/src/media/sync.rs @@ -388,7 +388,7 @@ where fn maybe_fire_progress_cb(&mut self) -> Result<()> { let now = Instant::now(); - if now.duration_since(self.progress_updated).as_secs() < 1 { + if now.duration_since(self.progress_updated).as_f64() < 0.15 { return Ok(()); } self.progress_updated = now;