mirror of
https://github.com/documenso/documenso
synced 2026-04-21 21:37:18 +00:00
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. |
||
|---|---|---|
| .. | ||
| disable-2fa.ts | ||
| enable-2fa.ts | ||
| get-backup-code.ts | ||
| is-2fa-availble.ts | ||
| setup-2fa.ts | ||
| validate-2fa.ts | ||
| verify-2fa-token.ts | ||
| verify-backup-code.ts | ||
| verify-password.ts | ||
| view-backup-codes.ts | ||