mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-04 06:12:11 +03: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.