From 54a38f740689e11173e26aa7176a839f13d52452 Mon Sep 17 00:00:00 2001 From: cel Date: Wed, 12 Apr 2017 18:46:37 -0700 Subject: Cache about info more --- lib/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/app.js') 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) -- cgit v1.2.3