Cauê Faleiros
5b7e95ad86
feat: a database connection pool behind DB_POOL (off in production)
...
Every db.connect() opened a new Postgres connection; with DB_POOL=on each
process keeps a psycopg_pool pool (DB_POOL_SIZE, default 20, 10 s
acquisition timeout, dropped connections replaced) with the same
commit/rollback contract. Production stays off until switched in Portainer;
the local stack and CI run with it on. Two nested acquisitions that ran on
every board load and in audits now reuse the caller's connection.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com >
2026-11-09 17:57:42 -03:00
..
2026-11-09 17:57:42 -03:00
2026-10-23 14:15:23 -03:00
2026-11-09 17:57:42 -03:00
2026-11-09 16:47:28 -03:00
2026-09-21 17:40:57 -03:00
2026-11-06 15:27:48 -03:00
2026-11-09 14:14:25 -03:00
2026-11-06 10:41:20 -03:00
2026-11-09 16:11:30 -03:00
2026-11-09 17:12:49 -03:00
2026-11-09 16:13:30 -03:00
2026-10-16 13:33:50 -03:00
2026-10-15 13:47:53 -03:00
2026-10-15 13:47:53 -03:00
2026-11-09 15:24:44 -03:00
2026-10-15 13:47:53 -03:00
2026-11-09 10:45:43 -03:00
2026-11-09 16:13:30 -03:00
2026-11-03 17:05:08 -03:00
2026-09-29 09:34:01 -03:00
2026-10-15 14:41:23 -03:00
2026-11-09 12:19:31 -03:00
2026-11-09 12:50:48 -03:00
2026-11-09 12:19:31 -03:00
2026-10-19 09:18:20 -03:00
2026-11-09 15:24:44 -03:00
2026-09-29 14:18:45 -03:00
2026-10-16 13:33:50 -03:00
2026-11-09 16:11:30 -03:00
2026-10-19 15:31:59 -03:00
2026-10-15 13:47:53 -03:00
2026-10-06 15:54:14 -03:00
2026-11-09 17:57:42 -03:00
2026-11-06 11:02:39 -03:00
2026-11-09 10:45:43 -03:00
2026-11-06 10:41:20 -03:00
2026-11-06 11:02:39 -03:00
2026-11-03 20:10:03 -03:00
2026-11-06 15:27:48 -03:00
2026-11-09 10:45:43 -03:00
2026-11-09 17:12:49 -03:00
2026-11-09 15:24:44 -03:00
2026-11-09 11:39:15 -03:00
2026-11-09 13:50:45 -03:00
2026-11-09 17:57:42 -03:00
2026-11-09 16:13:30 -03:00
2026-10-27 16:02:55 -03:00
2026-11-09 17:57:42 -03:00
2026-11-09 10:01:26 -03:00
2026-11-09 16:24:07 -03:00