aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-01-17 10:17:28 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-01-17 10:17:28 -1000
commit464d359b34e33b2b561af2ffdfe4f6dd14178862 (patch)
treec8729d0553abb4fc152cde73993f6f72431d3bbf /lib
parent51ce0d861e2a2ae3b11dbfb28adffec27bd7a845 (diff)
downloadpatchfoo-464d359b34e33b2b561af2ffdfe4f6dd14178862.tar.gz
patchfoo-464d359b34e33b2b561af2ffdfe4f6dd14178862.zip
Don't override sbot.get
It's already memoized anyway in getMsg and in ssb-git
Diffstat (limited to 'lib')
-rw-r--r--lib/app.js1
1 files changed, 0 insertions, 1 deletions
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)