v0.9.15
This commit is contained in:
@@ -29,7 +29,7 @@ if FORCE_X11:
|
||||
# --- CONFIGURATION ---
|
||||
PROG_NAME = "Bagheera Image Viewer"
|
||||
PROG_ID = "bagheeraview"
|
||||
PROG_VERSION = "0.9.15-dev"
|
||||
PROG_VERSION = "0.9.15"
|
||||
PROG_AUTHOR = "Ignacio Serantes"
|
||||
|
||||
# --- CACHE SETTINGS ---
|
||||
@@ -47,6 +47,10 @@ except (ImportError, Exception):
|
||||
# Fallback to a safe 256MB if psutil is missing or fails
|
||||
CACHE_MAX_RAM_BYTES = 256 * 1024 * 1024
|
||||
|
||||
# Minimum percentage of free system RAM required.
|
||||
# Aggressive cache pruning will trigger if available memory falls below this.
|
||||
MIN_FREE_RAM_PERCENT = 5.0
|
||||
|
||||
# Maximum size of the persistent disk cache file.
|
||||
# 10 GB limit for persistent cache file
|
||||
DISK_CACHE_MAX_BYTES = 10 * 1024 * 1024 * 1024
|
||||
|
||||
Reference in New Issue
Block a user