mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 21:05:10 +00:00
d3ebec8f21
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. |
||
---|---|---|
.. | ||
json.go | ||
progress.go | ||
text.go |