Time retries its own parked cards (error / stuck) #132
@@ -1490,7 +1490,7 @@ def tick() -> None:
|
||||
print(f"#{n}: {type(e).__name__}: {e}")
|
||||
again = mode == "live" and auto_used.get(n, 0) + (1 if auto else 0) < auto_max
|
||||
comment(n, f"⏱️ Time: the worker call failed: `{str(e)[:300]}`. "
|
||||
+ (f"I'll retry on my own next beat (TIME_AUTO_RETRY={auto_max} times in all); comment `/time retry` for one more."
|
||||
+ ("I'll retry on my own next beat (TIME_AUTO_RETRY times in all); comment `/time retry` for one more."
|
||||
if again else "Comment `/time retry` to try again."),
|
||||
{"beat": "error", **({"auto_retry": True} if auto else {})})
|
||||
if tripped:
|
||||
|
||||
Reference in new issue
Block a user