Skip to content

Commit 36060d0

Browse files
committed
Rate limit Nutmeg progress updates
1 parent 378f08b commit 36060d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/termui/monitor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ impl TermUiMonitor {
4747
let tasks = Arc::new(Mutex::new(TaskList::default()));
4848
// We'll update from a polling thread at regular intervals, so we don't need Nutmeg to rate limit updates.
4949
let options = nutmeg::Options::default()
50-
.update_interval(Duration::ZERO)
50+
.update_interval(Duration::from_millis(500))
5151
.progress_enabled(show_progress)
5252
.destination(Destination::Stderr);
5353
let view = Arc::new(View::new(

0 commit comments

Comments
 (0)