Skip to content

Commit

Permalink
show a spinner when fetching snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
drdo committed May 19, 2024
1 parent 31970a1 commit ed16650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ fn sync_snapshots(
let missing_queue = Queue::new(missing_snapshots);

// Create progress indicators
let pb = new_pb("{wide_bar} [{pos}/{len}] {msg}");
let pb = new_pb("{wide_bar} [{pos}/{len}] {msg} {spinner}");
pb.set_length(total_missing_snapshots as u64);
let speed = {
let pb = pb.clone();
Expand Down

0 comments on commit ed16650

Please sign in to comment.