lower max article cache size (30 to 20)
This commit is contained in:
parent
3de0261a53
commit
7289eacf91
|
@ -810,7 +810,7 @@ function cache_check(id) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function cache_expire() {
|
function cache_expire() {
|
||||||
while (article_cache.length > 30) {
|
while (article_cache.length > 20) {
|
||||||
article_cache.shift();
|
article_cache.shift();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue