diff options
| author | Ken D'Ambrosio <ken@jots.org> | 2026-06-08 17:37:06 +0000 |
|---|---|---|
| committer | Ken D'Ambrosio <ken@jots.org> | 2026-06-08 17:37:06 +0000 |
| commit | ecc872a1fd43c0863e3171a1faf533adc3e3a4c5 (patch) | |
| tree | 233033f4c07cd7b18ea45bfb1791b566a2167c6c /views/search.erb | |
| parent | 73d6f8c9ac0177ca3a6587e6534592a545d44d67 (diff) | |
Add progress counter and faces-pending sentinel bypass to update.rb
- process_dir() takes idx/total args and prints [N/total] prefix on every
Scanning/Skipping line so long runs are easy to monitor via tail -f
- faces_pending?() checks album.json for any image with faces: null when
faces.enabled is true; if found, the sentinel skip is bypassed so those
images get processed even though the directory mtime hasn't changed
- This handles the case where face detection is newly enabled on a library
that was previously indexed without it — no --force needed on subsequent
runs after the initial catch-up
Resume after abort: sentinel is only touched after atomic_write_json, so
an aborted directory reruns cleanly. Already-completed directories skip
normally; partially-detected batches rerun from scratch (safe/idempotent).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'views/search.erb')
0 files changed, 0 insertions, 0 deletions
