mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-21 07:49:28 +08:00
UpdateAllSetting issued a separate SELECT plus Save per field in its own autocommit transaction, so each panel-settings save triggered 100+ SQLite write transactions (one fsync each). Wrap the whole update in a single transaction, read existing rows once, and skip unchanged values.