Commit 18de89483564e9cc8d76105efa9aaf7a71c8771e
Increase size of reverse name cache
cel committed on 5/20/2017, 11:23:20 PMParent: b90b36f54546b4bad7618a57e7f5484892e23b52
Files changed
lib/app.js | changed |
lib/app.js | ||
---|---|---|
@@ -35,9 +35,9 @@ | ||
35 | 35 … | this.getMsg = memo({cache: lru(100)}, getMsgWithValue, sbot) |
36 | 36 … | this.getAbout = memo({cache: this.aboutCache = lru(500)}, |
37 | 37 … | this._getAbout.bind(this)) |
38 | 38 … | this.unboxContent = memo({cache: lru(100)}, sbot.private.unbox) |
39 | - this.reverseNameCache = lru(100) | |
39 … | + this.reverseNameCache = lru(500) | |
40 | 40 … | |
41 | 41 … | this.unboxMsg = this.unboxMsg.bind(this) |
42 | 42 … | |
43 | 43 … | this.render = new Render(this, this.opts) |
Built with git-ssb-web