Change default retries to 0
This commit is contained in:
parent
4cc4b8d484
commit
510449ce65
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ def run_configuration(config_filename, config, arguments):
|
||||||
|
|
||||||
local_path = location.get('local_path', 'borg')
|
local_path = location.get('local_path', 'borg')
|
||||||
remote_path = location.get('remote_path')
|
remote_path = location.get('remote_path')
|
||||||
retries = storage.get('retries',1)
|
retries = storage.get('retries', 0)
|
||||||
borg_environment.initialize(storage)
|
borg_environment.initialize(storage)
|
||||||
encountered_error = None
|
encountered_error = None
|
||||||
error_repository = ''
|
error_repository = ''
|
||||||
|
|
|
@ -253,7 +253,7 @@ properties:
|
||||||
type: integer
|
type: integer
|
||||||
description: |
|
description: |
|
||||||
Number of times to retry a backup before failing. Defaults
|
Number of times to retry a backup before failing. Defaults
|
||||||
to 1.
|
to 0 (i.e. does not attempt retry).
|
||||||
example: 3
|
example: 3
|
||||||
temporary_directory:
|
temporary_directory:
|
||||||
type: string
|
type: string
|
||||||
|
|
Loading…
Reference in a new issue