mirror of
https://github.com/BEDOLAGA-DEV/remnawave-bedolaga-telegram-bot.git
synced 2026-04-28 08:41:05 +00:00
add_user_to_servers and remove_user_from_servers were calling db.commit() internally, breaking transaction atomicity for all callers that perform additional operations afterward. Changed to db.flush() so the caller controls the commit boundary.