1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 08:16:36 +00:00
restic/internal/backend
Michael Eischer 98709a4372 retry: reduce total number of retries
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.
2024-05-24 20:24:02 +02:00
..
azure azure: deduplicate cli and default credentials case 2024-05-18 22:15:54 +02:00
b2 backend: remove unused Location method 2024-05-18 21:38:31 +02:00
dryrun backend: remove unused Location method 2024-05-18 21:38:31 +02:00
gs backend: remove unused Location method 2024-05-18 21:38:31 +02:00
layout Deprecate s3legacy layout 2024-04-10 21:27:56 +02:00
limiter CI: enable bodyclose linter 2024-01-19 21:17:18 +01:00
local backend: remove unused Location method 2024-05-18 21:38:31 +02:00
location
logger
mem backend: remove unused Location method 2024-05-18 21:38:31 +02:00
mock backend: remove unused Location method 2024-05-18 21:38:31 +02:00
rclone Fix linter errors (except for tests) 2024-02-10 22:58:10 +01:00
rest backend: remove unused Location method 2024-05-18 21:38:31 +02:00
retry retry: reduce total number of retries 2024-05-24 20:24:02 +02:00
s3 backend: remove unused Location method 2024-05-18 21:38:31 +02:00
sema
sftp backend: remove unused Location method 2024-05-18 21:38:31 +02:00
swift backend: remove unused Location method 2024-05-18 21:38:31 +02:00
test backend: remove unused Location method 2024-05-18 21:38:31 +02:00
testdata
util backend: move LimitReadCloser to util package 2024-05-18 21:26:00 +02:00
backend.go backend: remove unused Location method 2024-05-18 21:38:31 +02:00
backend_test.go
doc.go
file.go
file_test.go
http_transport.go Use generic backend-error-redesign feature flag instead of http-timeouts 2024-05-18 19:54:52 +02:00
readerat.go
rewind_reader.go
rewind_reader_test.go
shell_split.go
shell_split_test.go
watchdog_roundtriper.go backend: cancel stuck http requests 2024-05-09 23:46:17 +02:00
watchdog_roundtriper_test.go backend: add tests for watchdogRoundTripper 2024-05-09 23:46:17 +02:00