documenso/packages/api
Lucas Smith 9f680c7a61
perf: set global prisma transaction timeouts and reduce transaction scope (#2607)
Configure default transaction options (5s maxWait, 10s timeout) on the
PrismaClient instead of per-transaction overrides. Move side effects
like email sending, webhook triggers, and job dispatches out of
$transaction blocks to avoid holding database connections open during
network I/O.

Also extracts the direct template email into a background job and fixes
a bug where prisma was used instead of tx inside a transaction.
2026-03-13 14:51:53 +11:00
..
v1 perf: set global prisma transaction timeouts and reduce transaction scope (#2607) 2026-03-13 14:51:53 +11:00
hono.ts feat: api logging by pino (#1865) 2025-06-27 21:44:51 +10:00
index.ts refactor: extract api implementation to package 2023-12-31 13:58:15 +11:00
package.json chore: dependency updates (#2229) 2025-11-22 20:28:20 +11:00
tsconfig.json refactor: extract api implementation to package 2023-12-31 13:58:15 +11:00