todo
authorJoey Hess <joeyh@joeyh.name>
Tue, 1 Sep 2020 20:00:49 +0000 (16:00 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 1 Sep 2020 20:00:49 +0000 (16:00 -0400)
doc/todo/limit_forwardRetry.mdwn [new file with mode: 0644]

diff --git a/doc/todo/limit_forwardRetry.mdwn b/doc/todo/limit_forwardRetry.mdwn
new file mode 100644 (file)
index 0000000..3bc15d6
--- /dev/null
@@ -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]]