Skip to content

Commit

Permalink
Do not output progress that often
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaskrause committed Aug 30, 2024
1 parent cbe6102 commit e81e546
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/annatto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ fn convert(workflow_file: PathBuf, read_env: bool, in_memory: bool) -> Result<()
pb.set_style(not_started_style.clone());
pb.set_prefix(format!("#{idx:<2}"));
pb.set_message(s.to_string());
pb.enable_steady_tick(Duration::from_millis(250));
pb.enable_steady_tick(Duration::from_secs(1));
all_bars.insert(s, pb);
}
}
Expand Down
1 change: 0 additions & 1 deletion src/exporter/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ impl Exporter for ExportTable {
doc_node_to_start
.into_iter()
.try_for_each(move |(doc, start)| -> anyhow::Result<()> {
progress.info(&format!("Exporting {doc} as table"))?;
self.export_document(graph, output_path, doc, start)?;
progress.worked(1)?;
Ok(())
Expand Down

0 comments on commit e81e546

Please sign in to comment.