diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-04-12 18:46:37 -0700 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-04-12 18:51:17 -0700 |
commit | 54a38f740689e11173e26aa7176a839f13d52452 (patch) | |
tree | d48c666e5480397a1b9e8eb69b0a36dff539de3b /lib | |
parent | a755d08d1cdfde6a9a48de38d8fdd779148709b8 (diff) | |
download | patchfoo-54a38f740689e11173e26aa7176a839f13d52452.tar.gz patchfoo-54a38f740689e11173e26aa7176a839f13d52452.zip |
Cache about info more
Diffstat (limited to 'lib')
-rw-r--r-- | lib/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |