summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-05-15 07:02:35 +0100
committerAndrew Dolgov <[email protected]>2007-05-15 07:02:35 +0100
commit7289eacf91a2082bdc42123e0b81031a8b380f4c (patch)
tree751c1485b3557dcda9216283e4c680b769fd12fd /viewfeed.js
parent3de0261a5339707330fdbabeb4b98ee47a388775 (diff)
lower max article cache size (30 to 20)
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewfeed.js b/viewfeed.js
index 7435db076..91b042689 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -810,7 +810,7 @@ function cache_check(id) {
}
function cache_expire() {
- while (article_cache.length > 30) {
+ while (article_cache.length > 20) {
article_cache.shift();
}
}