automatically scale conduwuit caches by CPU-core-count

This commit is contained in:
Jacob Taylor authored and Aranjedeath committed 2024-10-05 17:07:37 -07:00
1 parent 032b199129
commit b9a8f8e6c7
2 files changed
+13 -12

No files matched your search

+2 -1
View File
@@ -481,6 +481,7 @@ allow_profile_lookup_federation_requests = true
### Generic database options
# Set this to any float value to multiply conduwuit's in-memory LRU caches with.
# By default, the caches scale automatically with cpu-core-count.
# May be useful if you have significant memory to spare to increase performance.
#
# This was previously called `conduit_cache_capacity_modifier`
@@ -490,7 +491,7 @@ allow_profile_lookup_federation_requests = true
# Set this to any float value in megabytes for conduwuit to tell the database engine that this much memory is available for database-related caches.
# May be useful if you have significant memory to spare to increase performance.
# Defaults to 256.0
# Defaults to 128.0 + (64.0 * CPU core count).
#db_cache_capacity_mb = 256.0