Reduced prefix/disabled channel cache to 512, made API delete images if they haven't been requested after 5 minutes

This commit is contained in:
TheEssem 2021-04-14 18:02:03 -05:00
parent b3d3df2cb7
commit 7cc8ac7b6b
2 changed files with 33 additions and 20 deletions

View file

@ -17,7 +17,7 @@ exports.runningCommands = new TimedMap();
class Cache extends Map {
constructor(values) {
super(values);
this.maxValues = 1024;
this.maxValues = 512;
}
set(key, value) {