project-nomad/admin/app/jobs
Chris Sherwood 34076b107b fix: prevent embedding retry storm when Ollama is not installed
When Ollama isn't installed, every ZIM download dispatches embedding jobs
that fail and retry 30x with 60s backoff. With many ZIM files downloading
in parallel, this exhausts Redis connections with EPIPE/ECONNRESET errors.

Two changes:
1. Don't dispatch embedding jobs when Ollama isn't installed (belt)
2. Use BullMQ UnrecoverableError for "not installed" so jobs fail
   immediately without retrying (suspenders)

Closes #351

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 11:46:10 -07:00
..
check_service_updates_job.ts feat: support for updating services 2026-03-11 14:08:09 -07:00
check_update_job.ts fix: improve type-safety for KVStore values 2026-03-03 20:51:38 -08:00
download_model_job.ts feat(Ollama): cleanup model download logic and improve progress tracking 2026-02-03 23:15:54 -08:00
embed_file_job.ts fix: prevent embedding retry storm when Ollama is not installed 2026-03-20 11:46:10 -07:00
run_benchmark_job.ts feat(Docker): container URL resolution util and networking improvs 2026-01-24 15:27:56 -08:00
run_download_job.ts fix: prevent embedding retry storm when Ollama is not installed 2026-03-20 11:46:10 -07:00