mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-05 21:04:43 +08:00
- Delete archived results in batches of 500 before `prisma.typebot.deleteMany` to avoid Prisma cascade wrapping the entire delete in a single Vitess transaction that exceeds the max duration - Use `prisma.$primary().result.findMany` for the batch lookup so read replica lag does not exit the loop while results still exist on primary 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .cursor | ||
| src | ||
| .env.local.example | ||
| package.json | ||
| tsconfig.json | ||
| tsconfig.lib.json | ||