Added #1998 Setting for maximum number of items in the cache - allows less memory consumption (Defaults to 500 per cache)

This commit is contained in:
Jindra Petřík
2023-06-25 20:41:04 +02:00
parent 49abcd4447
commit 2616b5046d
5 changed files with 54 additions and 4 deletions
@@ -794,6 +794,10 @@ public final class Configuration {
@ConfigurationCategory("limit")
public static ConfigurationItem<Integer> maxCachedTime = null;
@ConfigurationDefaultInt(500)
@ConfigurationCategory("limit")
public static ConfigurationItem<Integer> maxCachedNum = null;
@ConfigurationDefaultString("")
@ConfigurationCategory("paths")
@ConfigurationFile(".*\\.swc$")