mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 10:51:36 -04:00
* Reset file worker status when a synchronous refresh is cancelled refresh_sync runs inside request handlers. When Sanic cancelled one on response timeout, the phase flag cleared as its `with` block unwound but the shared status did not, so the worker reported 'modeling' forever while nothing ran. Reset to idle on cancellation. Deleting outdated Zims also ran the global modelers inside the request, which is what timed out. Skip post-processing there and update the outdated_zims flag directly, the only cleanup step it relied on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * tests: observe the modeling flag in the cancelled refresh_sync test Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| archive | ||
| docs | ||
| flasher | ||
| inventory | ||
| map | ||
| videos | ||
| zim | ||
| __init__.py | ||