This commit is contained in:
Joey Hess 2020-09-01 16:04:40 -04:00
parent 48dde6d5b0
commit 20b06266d1
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -8,3 +8,10 @@ bytes being sent. Worst case.
So I think forwardRetry should cap after some amount of automatic retrying.
Ie, it could give up after 5 retries. --[[Joey]]
Of course, the real use case for forwardRetry is remotes that use eg, rsync
and can really resume at the last byte. But, forwardRetry can't tell
if a remote is doing that (unless some timing heuristics were used). Around
5 retries seems fairly reasonable for that case too, it would be unlikely
for a rsync transfer to keep failing so many times while still making
forward progess. --[[Joey]]