restic/internal/ui/backup
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
..
json.go archiver: remove unused fileInfo from progress callback 2022-07-23 14:16:23 +02:00
progress.go backup: Use buffered channels to collect backup status 2022-10-08 18:20:41 +02:00
text.go archiver: remove unused fileInfo from progress callback 2022-07-23 14:16:23 +02:00