forked from TrueCloudLab/restic
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 |