From 18de89483564e9cc8d76105efa9aaf7a71c8771e Mon Sep 17 00:00:00 2001 From: cel Date: Sat, 20 May 2017 13:23:20 -1000 Subject: Increase size of reverse name cache --- lib/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3