Name the minute's sleep and the exec at their call sites

This commit is contained in:
2026-09-28 21:13:09 +02:00
parent 2602231b23
commit 4cd79e5b1a
5 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import time
from loop_claude.outcome import Stop
def strike(who, failures, failure):
def stop_or_sleep_a_minute(who, failures, failure):
if failures == 3:
return Stop(1, f"the {who} failed three times running: {failure}")
print(f"retrying the {who} in a minute: {failure}", file=sys.stderr)