Merge pull request #4540 from MrPetovan/task/4520-load-whole-config

[develop] Performance: Add preloading config adapter
This commit is contained in:
Michael Vogel 2018-03-08 20:35:14 +01:00 committed by GitHub
commit b6b67c9044
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 775 additions and 194 deletions

View file

@ -27,6 +27,7 @@ Example: To set the automatic database cleanup process add this line to your .ht
* **always_show_preview** (Boolean) - Only show small preview picures. Default value is false.
* **block_local_dir** (Boolean) - Blocks the access to the directory of the local users.
* **auth_cookie_lifetime** (Integer) - Number of days that should pass without any activity before a user who chose "Remember me" when logging in is considered logged out. Defaults to 7.
* **config_adapter** (jit|preload) - Allow to switch the configuration adapter to improve performances at the cost of memory consumption. Default value is "jit"
* **curl_range_bytes** - Maximum number of bytes that should be fetched. Default is 0, which mean "no limit".
* **db_log** - Name of a logfile to log slow database queries
* **db_loglimit** - If a database call lasts longer than this value it is logged