mirror of
https://github.com/octoleo/restic.git
synced 2024-11-25 22:27:35 +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. |
||
---|---|---|
.. | ||
backup | ||
progress | ||
signals | ||
table | ||
termstatus | ||
message.go | ||
stdio_wrapper_test.go | ||
stdio_wrapper.go |