mirror of
https://github.com/octoleo/restic.git
synced 2024-12-26 04:17:29 +00:00
98709a4372
Retries in restic try to solve two main problems: - retry a temporarily failed operation - tolerate temporary network interruptions The first problem only requires a few retries, whereas the last one benefits primarily from spreading the requests over a longer duration. Increasing the default multiplier and the initial interval works for both cases. The first few retries only take a few seconds, while later retries quickly reach the maximum interval of one minute. This ensures that the total number of retries issued by restic will remain at around 21 retries for a 15 minute period. As the concurrency in restic is bounded, retries drastically reduce the number of requests sent to a backend. This helps to prevent overloading the backend. |
||
---|---|---|
.. | ||
azure | ||
b2 | ||
dryrun | ||
gs | ||
layout | ||
limiter | ||
local | ||
location | ||
logger | ||
mem | ||
mock | ||
rclone | ||
rest | ||
retry | ||
s3 | ||
sema | ||
sftp | ||
swift | ||
test | ||
testdata | ||
util | ||
backend_test.go | ||
backend.go | ||
doc.go | ||
file_test.go | ||
file.go | ||
http_transport.go | ||
readerat.go | ||
rewind_reader_test.go | ||
rewind_reader.go | ||
shell_split_test.go | ||
shell_split.go | ||
watchdog_roundtriper_test.go | ||
watchdog_roundtriper.go |