pahvalentines/backend/tasks
michael 1e6462132d fix: prevent PostgreSQL connection exhaustion from Celery worker pool leak
Use NullPool for Celery workers so connections are opened/closed per task
instead of accumulating in per-process pools. Add worker_process_init
signal to dispose inherited engines on fork. Keep QueuePool for the web
service. Increase PostgreSQL max_connections to 200 as a safety net.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 06:42:40 -06:00
..
__init__.py Add backend API, video generator, and frontend updates 2026-01-30 10:31:58 -06:00
celery_app.py fix: prevent PostgreSQL connection exhaustion from Celery worker pool leak 2026-02-17 06:42:40 -06:00
workers.py feat(video): move video generation to Cloud Run 2026-02-10 09:58:57 -06:00