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 committed 2023-04-23 11:31:15 +02:00
1 parent 22562d2132
commit 78a1757e5a
3 files changed
+44 -16

No files matched your search

+7
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