mirror of
https://github.com/BEDOLAGA-DEV/remnawave-bedolaga-telegram-bot.git
synced 2026-02-26 14:21:25 +00:00
- YooKassa: SELECT FOR UPDATE on payment row to prevent concurrent double-processing - subtract_user_balance: row locking to prevent concurrent balance race conditions - subtract_user_balance: transaction creation before commit for atomicity - subscription renewal: compensating refund if extend_subscription fails after charge - StaleDataError: use savepoint instead of full rollback to protect parent transaction