[MAJOR] Race condition in default layout setting #46
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In layouts.service.ts, setting
isDefaulthas a race condition when setting/unsetting default layouts.Need to use Prisma transaction to ensure atomicity:
File affected: