pahvalentines/backend/tasks
michael 2d9c6ca7a7 refactor: convert polling tasks to event-based architecture
- Remove process_pending_queue and check_credits scheduled tasks
- Add check_submission_timeout task for per-submission timeout handling
- Modify send_to_sonauto to schedule timeout check after successful API call
- Reduce check_timeouts frequency to 30min (safety net only)
- Update submissions endpoint to use apply_async with better error logging
- Remove unused config settings (QUEUE_PROCESSOR_INTERVAL, CREDITS_CHECK_INTERVAL)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 00:28:52 -06:00
..
__init__.py Add backend API, video generator, and frontend updates 2026-01-30 10:31:58 -06:00
celery_app.py refactor: convert polling tasks to event-based architecture 2026-02-04 00:28:52 -06:00
workers.py refactor: convert polling tasks to event-based architecture 2026-02-04 00:28:52 -06:00