diff options
| author | 2026-03-08 14:15:38 +0800 | |
|---|---|---|
| committer | 2026-03-08 14:15:38 +0800 | |
| commit | c75a034d25ca87f3d209a8e82c743b8a7e96573b (patch) | |
| tree | d8cd5befb9d812ab622dcce094c9d30797d6d861 /internal/progress/constants.go | |
| parent | *: BestEffortFprintf as linter wants (diff) | |
| signature | No signature | |
internal/progress: Add progress meter
Diffstat (limited to 'internal/progress/constants.go')
| -rw-r--r-- | internal/progress/constants.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/internal/progress/constants.go b/internal/progress/constants.go new file mode 100644 index 00000000..c73adb2e --- /dev/null +++ b/internal/progress/constants.go @@ -0,0 +1,11 @@ +package progress + +import "time" + +const ( + // DefaultDelay is the default delayed-progress interval. + DefaultDelay = time.Second + + updateInterval = time.Second + throughputInterval = 500 * time.Millisecond +) |
