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:
parent
b3d3df2cb7
commit
7cc8ac7b6b
2 changed files with 33 additions and 20 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue