Accusys 0fe09afdb6 fix: prevent 'running' status deadlock in worker
** Problem:
- Worker set processor status to 'running' BEFORE checking capacity
- If capacity limit reached, processor was skipped but status stuck at 'running'
- Worker would skip processors with 'running' status on next poll (deadlock)

** Root Cause:
- Line 591-600: update_processor_progress(..., 'running')
- Line 1434: check capacity (TOO LATE!)
- Result: status='running' but processor never started

** Fix:
- Move capacity check BEFORE setting 'running' status
- If capacity limit reached, mark as 'skipped' immediately
- Prevents 'running' status from being set when processor won't actually run

** Impact:
- Fixes UI 'Deep Scan' deadlock issue
- Workers will no longer get stuck in infinite loop
- Processor status will accurately reflect actual state

** Files Changed:
- src/worker/job_worker.rs: Moved capacity check to line 591-592
- Removed duplicate capacity check at line 1464-1493
2026-09-18 03:53:39 +08:00
2026-03-25 14:51:25 +08:00

momentry_core

Digital asset management system with video analysis and RAG - Production version with API Key authentication

S
Description
Digital asset management system with video analysis and RAG - Production version with API Key authentication
Readme 1.6 GiB
2026-03-25 15:49:30 +08:00
Languages
PLpgSQL 30.5%
Python 27.4%
HTML 20.4%
Rust 13.3%
Shell 3.1%
Other 5.2%