Cancel current command if cache becomes unusable

If the cache suddenly disappears, the current command will now fail.
This commit is contained in:
Michael Eischer
2023-02-10 22:39:40 +01:00
parent 22562d2132
commit 78a1757e5a
3 changed files with 44 additions and 16 deletions

View File

@@ -0,0 +1,7 @@
Enhancement: Cancel current command if cache becomes unusable
If the cache directory was removed or ran out of space while restic was
running, this caused further caching attempts to fail and drastically slow down
the command execution. Now, the currently running command is canceled instead.
https://github.com/restic/restic/pull/4166