Michael Eischer
|
505f8a2229
|
progress/counter: Support updating the progress bar maximum
|
2021-01-28 11:10:47 +01:00 |
|
Michael Eischer
|
05a987b07c
|
Support values less than 1 for RESTIC_PROGRESS_FPS
For example set the variable to 0.016666 to print the progress once per
minute.
|
2020-12-29 16:32:18 +01:00 |
|
Michael Eischer
|
85fe5feadb
|
Unify progress report frequency calculation
|
2020-12-29 16:03:43 +01:00 |
|
Michael Eischer
|
969141b5e9
|
Honor RESTIC_PROGRESS_FPS env variable on non-interactive terminals
This makes it possible to use the environment variable to also get
regular progress updates on non-interactive terminals.
|
2020-12-29 16:03:43 +01:00 |
|
Michael Eischer
|
c2ef049f1b
|
ui/progress: don't print progress on non-interactive terminals
This reverts to the old behavior of not printing progress updates on
non-interactive terminals. It was accidentally changed in #3058.
|
2020-12-29 16:03:43 +01:00 |
|
Michael Eischer
|
625410f003
|
Limit progress bar updates to once per second on non-terminal outputs
The code accidentally checked whether stdin is a terminal instead of
stdout, the former is not relevant here as the output is printed on
stdout.
|
2020-11-18 22:12:07 +01:00 |
|
greatroar
|
ddca699cd2
|
Replace restic.Progress with new progress.Counter
This fixes two race conditions while cleaning up the code.
|
2020-11-09 12:12:35 +01:00 |
|
Michael Eischer
|
17995dec7a
|
Unify progress bar of check and prune commands
|
2020-08-25 22:47:38 +02:00 |
|