1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-02-02 20:46:57 +00:00
restic/doc
jo ea59896bd6
Add a global option --retry-lock
Fixes restic#719

If the option is passed, restic will wait the specified duration of time
and retry locking the repo every 10 seconds (or more often if the total
timeout is relatively small).

- Play nice with json output
- Reduce wait time in lock tests
- Rework timeout last attempt
- Reduce test wait time to 0.1s
- Use exponential back off for the retry lock
- Don't pass gopts to lockRepo functions
- Use global variable for retry sleep setup
- Exit retry lock on cancel
- Better wording for flag help
- Reorder debug statement
- Refactor tests
- Lower max sleep time to 1m
- Test that we cancel/timeout in time
- Use non blocking sleep function
- Refactor into minDuration func

Co-authored-by: Julian Brost <julian@0x4a42.net>
2023-04-07 16:24:14 +02:00
..
_static
images/aws_s3
logo
man Update manpages and auto-completion 2023-01-12 20:51:19 +01:00
.gitignore
010_introduction.rst
020_installation.rst doc: Correct broken links 2023-03-22 17:37:58 +01:00
030_preparing_a_new_repo.rst doc: Correct broken links 2023-03-22 17:37:58 +01:00
040_backup.rst Merge pull request #4246 from greatroar/doc 2023-03-22 14:47:31 +01:00
045_working_with_repos.rst rewrite: fix link anchors in documentation 2022-11-27 16:38:10 +01:00
047_tuning_backup_parameters.rst doc: Correct heading level for --no-scan 2023-01-11 21:47:38 +01:00
050_restore.rst doc: add description for restore --sparse 2023-01-10 23:27:42 +01:00
060_forget.rst document backup --group-by 2023-02-11 00:55:11 +01:00
070_encryption.rst doc: Fix some links, focus less on implementation details 2023-03-13 00:23:15 +01:00
075_scripting.rst
080_examples.rst doc: specify AWS Region via AWS_DEFAULT_REGION 2022-05-02 21:26:58 +02:00
090_participating.rst doc: Fix some links, focus less on implementation details 2023-03-13 00:23:15 +01:00
100_references.rst
110_talks.rst doc: Correct broken links 2023-03-22 17:37:58 +01:00
bash-completion.sh Update manpages and auto-completion 2023-01-12 20:51:19 +01:00
cache.rst Wording: change repo to repository 2022-07-08 20:05:35 +02:00
conf.py doc: fix building with Sphinx 6 2023-03-12 11:45:26 +01:00
design.rst Add a global option --retry-lock 2023-04-07 16:24:14 +02:00
developer_information.rst doc: Fix some links, focus less on implementation details 2023-03-13 00:23:15 +01:00
faq.rst remove duplicated init 2022-12-20 17:24:56 +01:00
fish-completion.fish Update manpages and auto-completion 2022-08-25 19:55:00 +02:00
index.rst Document connections and compression option 2022-07-03 11:19:24 +02:00
Makefile
manual_rest.rst Add a global option --retry-lock 2023-04-07 16:24:14 +02:00
powershell-completion.ps1 Update manpages and auto-completion 2023-01-12 20:51:19 +01:00
requirements.txt
REST_backend.rst
test_irreducibility.gap
zsh-completion.zsh Update manpages and auto-completion 2022-08-25 19:55:00 +02:00