diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2018-01-17 10:17:28 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2018-01-17 10:17:28 -1000 |
commit | 464d359b34e33b2b561af2ffdfe4f6dd14178862 (patch) | |
tree | c8729d0553abb4fc152cde73993f6f72431d3bbf | |
parent | 51ce0d861e2a2ae3b11dbfb28adffec27bd7a845 (diff) | |
download | patchfoo-464d359b34e33b2b561af2ffdfe4f6dd14178862.tar.gz patchfoo-464d359b34e33b2b561af2ffdfe4f6dd14178862.zip |
Don't override sbot.get
It's already memoized anyway in getMsg and in ssb-git
-rw-r--r-- | lib/app.js | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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) |