aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-04-12 18:46:37 -0700
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-04-12 18:51:17 -0700
commit54a38f740689e11173e26aa7176a839f13d52452 (patch)
treed48c666e5480397a1b9e8eb69b0a36dff539de3b
parenta755d08d1cdfde6a9a48de38d8fdd779148709b8 (diff)
downloadpatchfoo-54a38f740689e11173e26aa7176a839f13d52452.tar.gz
patchfoo-54a38f740689e11173e26aa7176a839f13d52452.zip
Cache about info more
-rw-r--r--lib/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/app.js b/lib/app.js
index 465e45b..2910b85 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -31,7 +31,7 @@ function App(sbot, config) {
sbot.get = memo({cache: lru(100)}, sbot.get)
this.getMsg = memo({cache: lru(100)}, getMsgWithValue, sbot)
- this.getAbout = memo({cache: this.aboutCache = lru(100)},
+ this.getAbout = memo({cache: this.aboutCache = lru(500)},
getAbout.bind(this), sbot, sbot.id)
this.unboxContent = memo({cache: lru(100)}, sbot.private.unbox)
this.reverseNameCache = lru(100)