pahvalentines/backend/app
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
..
routers fix(results): return image_url and lyrics on failed video generation 2026-02-12 07:05:30 -06:00
services fix(safety): use substring matching for banned words filter 2026-02-06 15:42:02 -06:00
__init__.py Add backend API, video generator, and frontend updates 2026-01-30 10:31:58 -06:00
config.py fix: prevent PostgreSQL connection exhaustion from Celery worker pool leak 2026-02-17 06:42:40 -06:00
database.py fix: prevent PostgreSQL connection exhaustion from Celery worker pool leak 2026-02-17 06:42:40 -06:00
main.py feat: migrate file storage from local filesystem to Google Cloud Storage 2026-02-05 08:40:42 -06:00
models.py feat: make pet image upload optional 2026-02-03 18:03:25 -06:00
prompts.py fix: Add banned words list to all pet prompts 2026-02-02 12:17:18 -06:00
schemas.py feat(api): add original pet image URL to results response 2026-02-06 08:38:54 -06:00