summaryrefslogtreecommitdiff
path: root/hyperstack-vm2.toml
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-25 10:45:44 +0200
committerPaul Buetow <paul@buetow.org>2026-03-25 10:45:44 +0200
commitb18dfa9f3988c3ca16c1bd7bd84526b3f6e0fc33 (patch)
tree699c4abc972ba9cf6025085ac827c78f7293e366 /hyperstack-vm2.toml
parente298eec184742d2fb10db88fd844949167331570 (diff)
photo-enhance: auto-recover from ComfyUI crashes during batch processing
When ComfyUI crashes (OOM on large ESRGAN tensors), systemd restarts it in ~30s. Previously the script immediately failed all remaining photos in the batch. Now: if upload/submit fails with 'Cannot reach ComfyUI', wait_for_recovery polls every 10s up to 5 minutes for the service to come back, then retries the photo once. Each photo gets at most one recovery-wait per run, so a permanent outage still terminates rather than looping forever. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'hyperstack-vm2.toml')
0 files changed, 0 insertions, 0 deletions