Answer the fourth round: the changelog's timing beside the retry, plainer help, comment and todo wording

This commit is contained in:
2026-10-02 23:19:38 +02:00
parent cd3684e720
commit 0267de9abb
5 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ def retried(who: str, attempt: typing.Callable[[], T | Failure | Limited], effec
while True:
result = attempt()
if isinstance(result, Limited):
# Hitting the limit proves claude started and reached the API, so the failures before it no longer run on.
# Hitting the limit proves claude started and reached the API, so the failures before it stop counting towards three.
failures = 0
now = effects.now()
wait = limit_wait(result, now)