063d4bf2a01dcb47e7a710c3613bbadc62ab718c
When 2 gunicorn workers start simultaneously, both call create_all() which races on CREATE TABLE attachments. The second worker hits a PostgreSQL UniqueViolation on pg_type_typname_nsp_index because the type already exists. Wrap create_tables() in try/except to handle this gracefully. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Description
No description provided
14 MiB
Languages
TypeScript
89.2%
CSS
4.3%
Makefile
2.9%
JavaScript
2.5%
Dockerfile
0.5%
Other
0.6%