mirror of
https://github.com/restic/restic.git
synced 2024-08-20 03:13:22 +02:00
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 |