# HG changeset patch # User Tuomo Valkonen # Date 1517855070 0 # Node ID f63835e9f29e79a3b233d17ad72e12f0424be33b # Parent a7bdc239ef6258d059dbe74e40e16acb541b28bc Oops, a zero retry_interval check had gone missing in scheduling reorganisation. diff -r a7bdc239ef62 -r f63835e9f29e borgend/backup.py --- a/borgend/backup.py Mon Feb 05 10:25:17 2018 +0000 +++ b/borgend/backup.py Mon Feb 05 18:24:30 2018 +0000 @@ -672,8 +672,8 @@ prev=self.previous_operation_of_type[Operation.LIST] if prev.ok(): return None - if self.retry_interval==0: - # Do not retry in case of errors if retry interval is zero + if self.retry_interval<=0: + # Do not retry in case of errors if retry interval is <= 0 return None # Attempt after retry interval tm=MonotonicTime.after_other(prev.finish_time, self.retry_interval) @@ -707,6 +707,9 @@ # standard interval. prev=self.previous_operation_of_type[optype] if not prev.ok(): + # Do not retry in case of errors if retry interval is <= 0 + if self.retry_interval<=0: + return None tm=MonotonicTime.after_other(prev.start_time, self.retry_interval) return Operation(optype, tm, reason='retry')