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-06 11:39:23 -03:00
2026-09-21 17:40:57 -03:00
2026-11-06 15:27:48 -03:00
2026-10-16 17:09:00 -03:00
2026-11-09 14:50:18 -03:00
2026-11-09 15:24:44 -03:00
2026-11-06 10:41:20 -03:00
2026-11-09 16:13:30 -03:00
2026-11-06 15:27:48 -03:00
2026-11-06 11:19:41 -03:00
2026-11-09 12:19:31 -03:00
2026-11-06 10:41:20 -03:00
2026-11-09 12:50:48 -03:00
2026-10-21 14:08:34 -03:00
2026-11-09 16:11:30 -03:00
2026-10-27 11:39:08 -03:00
2026-11-06 10:41:20 -03:00
2026-11-06 15:27:48 -03:00
2026-09-23 10:40:18 -03:00
2026-10-02 15:58:40 -03:00
2026-11-03 20:57:42 -03:00
2026-11-09 11:39:15 -03:00
2026-09-29 13:18:18 -03:00
2026-09-23 10:40:18 -03:00
2026-09-24 16:56:58 -03:00
2026-11-09 14:30:15 -03:00
2026-11-09 14:50:18 -03:00
2026-11-09 11:39:15 -03:00
2026-11-09 10:45:43 -03:00
2026-11-09 16:00:13 -03:00
2026-11-09 17:12:49 -03:00
2026-10-16 13:33:50 -03:00
2026-10-16 13:33:50 -03:00
2026-11-09 15:24:44 -03:00
2026-10-16 18:38:09 -03:00
2026-11-09 17:57:42 -03:00
2026-09-21 17:40:57 -03:00
2026-11-09 10:45:43 -03:00
2026-11-09 16:13:30 -03:00
2026-10-02 10:04:54 -03:00
2026-11-03 16:53:35 -03:00
2026-10-28 11:08:07 -03:00
2026-11-09 12:19:31 -03:00
2026-11-09 12:50:48 -03:00
2026-10-19 09:18:20 -03:00
2026-10-16 13:33:50 -03:00
2026-11-09 16:11:30 -03:00
2026-11-09 15:27:04 -03:00
2026-10-06 15:54:14 -03:00
2026-11-09 14:30:15 -03:00
2026-10-28 12:42:27 -03:00
2026-11-06 10:41:20 -03:00
2026-11-03 20:10:03 -03:00
2026-11-09 10:45:43 -03:00
2026-11-06 11:02:39 -03:00
2026-11-09 10:45:43 -03:00
2026-10-26 11:07:00 -03:00
2026-11-09 16:11:30 -03:00
2026-09-21 17:40:57 -03:00
2026-11-06 15:27:48 -03:00
2026-09-21 17:40:57 -03:00
2026-11-09 10:45:43 -03:00
2026-11-09 16:24:07 -03:00
2026-10-27 11:39:08 -03:00
2026-09-25 11:04:23 -03:00
2026-11-06 15:27:48 -03:00
2026-11-09 10:01:26 -03:00
2026-11-09 13:34:43 -03:00
2026-11-09 11:39:15 -03:00