2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-25 22:27:35 +00:00
restic/internal/ui
Michael Eischer d3ebec8f21 backup: Use buffered channels to collect backup status
When backing up many small files, the unbuffered channels frequently
cause the FileSaver to block when reporting progress information. Thus,
add buffers to these channels to avoid unnecessary scheduling.

As the status information is purely informational, it doesn't matter
that the status reporting shutdown is somewhat racy and could miss a few
final updates.
2022-10-08 18:20:41 +02:00
..
backup backup: Use buffered channels to collect backup status 2022-10-08 18:20:41 +02:00
progress golangci-lint: replace deprecated golint with revive 2022-03-28 22:33:17 +02:00
signals add go:build headers everywhere 2022-03-28 22:23:47 +02:00
table avoiding unnecessary type conversions 2019-06-30 23:58:00 +03:00
termstatus switch to golang.org/x/term 2022-03-28 22:24:15 +02:00
message.go Use new archiver code for backup 2018-04-28 22:08:11 +02:00
stdio_wrapper_test.go Simplify ui.StdioWrapper.Write 2020-10-17 20:30:46 +02:00
stdio_wrapper.go Simplify ui.StdioWrapper.Write 2020-10-17 20:30:46 +02:00