2
2
mirror of https://github.com/octoleo/restic.git synced 2025-02-13 09:18:55 +00:00
restic/internal
Michael Eischer 6eece31dc3 lock: introduce short delay between failed locking retries
Failed locking attempts were immediately retried up to three times
without any delay between the retries. If a lock file is not found while
checking for other locks, with the reworked backend retries there is no
delay between those retries. This is a problem if a backend requires a
few seconds to reflect file deletions in the file listings. To work
around this problem, introduce a short exponentially increasing delay
between the retries. The number of retries is now increased to 4. This
results in delays of 5, 10 and 20 seconds between the retries.
2024-08-30 12:45:20 +02:00
..
2024-07-03 20:02:06 +02:00
2024-04-29 16:21:38 -06:00
2024-02-24 13:47:49 -07:00
2024-08-30 12:37:10 +02:00