aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-05-20 13:23:20 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-05-20 13:23:20 -1000
commit18de89483564e9cc8d76105efa9aaf7a71c8771e (patch)
treec8238d562b77b0d4d61210abe40c954f6d4b8887 /lib
parentb90b36f54546b4bad7618a57e7f5484892e23b52 (diff)
downloadpatchfoo-18de89483564e9cc8d76105efa9aaf7a71c8771e.tar.gz
patchfoo-18de89483564e9cc8d76105efa9aaf7a71c8771e.zip
Increase size of reverse name cache
Diffstat (limited to 'lib')
-rw-r--r--lib/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/app.js b/lib/app.js
index 7b5bccc..4219151 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -36,7 +36,7 @@ function App(sbot, config) {
this.getAbout = memo({cache: this.aboutCache = lru(500)},
this._getAbout.bind(this))
this.unboxContent = memo({cache: lru(100)}, sbot.private.unbox)
- this.reverseNameCache = lru(100)
+ this.reverseNameCache = lru(500)
this.unboxMsg = this.unboxMsg.bind(this)