git ssb

16+

cel / patchfoo



Commit 18de89483564e9cc8d76105efa9aaf7a71c8771e

Increase size of reverse name cache

cel committed on 5/20/2017, 11:23:20 PM
Parent: b90b36f54546b4bad7618a57e7f5484892e23b52

Files changed

lib/app.jschanged
lib/app.jsView
@@ -35,9 +35,9 @@
3535 this.getMsg = memo({cache: lru(100)}, getMsgWithValue, sbot)
3636 this.getAbout = memo({cache: this.aboutCache = lru(500)},
3737 this._getAbout.bind(this))
3838 this.unboxContent = memo({cache: lru(100)}, sbot.private.unbox)
39- this.reverseNameCache = lru(100)
39 + this.reverseNameCache = lru(500)
4040
4141 this.unboxMsg = this.unboxMsg.bind(this)
4242
4343 this.render = new Render(this, this.opts)

Built with git-ssb-web