Update Customization

NGnius 2024-05-05 02:47:31 +01:00
parent 733ba10539
commit 22e9ca9268

@ -6,7 +6,7 @@ NOTE: Advanced features are meant to be used by advanced users. Advanced users a
# Limits Override
There is an optional file `limits_override.ron` RON file which will override the default limits chosen by PowerTools for various components. This file must be placed in `~/homebrew/settings/PowerTools` (the same folder which contains settings profiles). Any file error will be logged to the main PowerTools [log location](https://git.ngni.us/NG-SD-Plugins/PowerTools/wiki/Directory-Structure#logs) and the limits override file will be ignored. Some effort is made to keep this file consistent between updates, but [major and minor](https://semver.org/) updates may introduce incompatibilities.
There is an optional file `limits_override.ron` [RON](https://docs.rs/ron/latest/ron/) file which will override the default limits chosen by PowerTools for various components. This file must be placed in `~/homebrew/settings/PowerTools` (the same folder which contains settings profiles). Any file error will be logged to the main PowerTools [log location](https://git.ngni.us/NG-SD-Plugins/PowerTools/wiki/Directory-Structure#logs) and the limits override file will be ignored. Some effort is made to keep this file consistent between updates, but [major and minor](https://semver.org/) updates may introduce incompatibilities.
The file structure base is defined in [limits.rs](https://git.ngni.us/NG-SD-Plugins/PowerTools/src/branch/main/backend/limits_core/src/json_v2/limits.rs) (the immediate folder contains more specific parts) and a generated RON sample file is in [limits_override.ron](https://git.ngni.us/NG-SD-Plugins/PowerTools/src/branch/main/limits_override.ron). If you do not understand these files, please do not use this feature. These files reuse the limits server data structures, so all types and names directly correspond to their respective default limit.