From 4bcfd56902d1b4067199c98a64d5b72e92ab496c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 1 Sep 2020 16:00:49 -0400 Subject: [PATCH] todo --- doc/todo/limit_forwardRetry.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/todo/limit_forwardRetry.mdwn diff --git a/doc/todo/limit_forwardRetry.mdwn b/doc/todo/limit_forwardRetry.mdwn new file mode 100644 index 0000000000..3bc15d66c0 --- /dev/null +++ b/doc/todo/limit_forwardRetry.mdwn @@ -0,0 +1,10 @@ +The forwardRetry RetryDecider keeps retrying a transfer as long as at least +one more byte got transferred than in the previous, failed try. + +Suppose that a transfer was restarting from the beginning each time, and it +just so happened that each try got a tiny little bit further before +failing. Then transferring an `N` byte object could result in `sum [1..N]` +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]] -- 2.30.2