mirror of
https://github.com/rishikanthc/Scriberr.git
synced 2026-06-28 06:46:25 +00:00
The jobScanner was running every 10 seconds and re-enqueueing jobs that were already in the queue but hadn't started processing yet. This caused completed files to be re-transcribed when auto-transcribe was enabled. Changes: - Removed jobScanner goroutine (10-second polling loop) - Removed scanPendingJobs function - Added recoverPendingJobs that runs ONCE at startup to recover any pending jobs left from previous server runs - Jobs are now only enqueued when explicitly requested: - Upload with auto-transcribe enabled - Manual transcription start - Server restart recovery (one-time)