aboutsummaryrefslogtreecommitdiff
path: root/src/kristall.hpp
diff options
context:
space:
mode:
authorMike Skec <skec@protonmail.ch>2021-02-18 17:44:17 +1100
committerFelix Queißner <felix@ib-queissner.de>2021-02-18 11:23:23 +0100
commit6e127eb49d6a71e4d05cbb2e29fc164e718a903c (patch)
treea11e635dd5ae465c1173fe85e992c8e618fe2e7c /src/kristall.hpp
parentfb230927ab64ebcb4f2fe75f33658127421738b9 (diff)
downloadkristall-6e127eb49d6a71e4d05cbb2e29fc164e718a903c.tar.gz
Add unlimited cache life option
Diffstat (limited to 'src/kristall.hpp')
-rw-r--r--src/kristall.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kristall.hpp b/src/kristall.hpp
index 26f3235..1717d71 100644
--- a/src/kristall.hpp
+++ b/src/kristall.hpp
@@ -86,7 +86,8 @@ struct GenericSettings
// In-memory caching
int cache_limit = 1000;
int cache_threshold = 125;
- int cache_life = 15;
+ int cache_life = 60;
+ bool cache_unlimited_life = true;
void load(QSettings & settings);
void save(QSettings & settings) const;