mirror of
https://github.com/restic/restic.git
synced 2024-12-23 16:26:11 +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.go | ||
stdio_wrapper_test.go |