From 464d359b34e33b2b561af2ffdfe4f6dd14178862 Mon Sep 17 00:00:00 2001 From: cel Date: Wed, 17 Jan 2018 10:17:28 -1000 Subject: Don't override sbot.get It's already memoized anyway in getMsg and in ssb-git --- lib/app.js | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/app.js') diff --git a/lib/app.js b/lib/app.js index 4abd666..297c170 100644 --- a/lib/app.js +++ b/lib/app.js @@ -45,7 +45,6 @@ function App(sbot, config) { codeInTextareas: conf.codeInTextareas, } - sbot.get = memo({cache: lru(100)}, sbot.get) this.about = new About(this, sbot.id) this.msgCache = lru(100) this.getMsg = memo({cache: this.msgCache}, getMsgWithValue, sbot) -- cgit v1.2.3