Commit 729da9a0e4e091c675bd1c3959036d4e0cb4880d
disabling live on votes seems to improve performance
Ev Bogue committed on 7/30/2018, 9:18:51 PMParent: de3ae3a03adef449a6a736977c8a7bb228083c92
Files changed
tools.js | changed |
tools.js | ||
---|---|---|
@@ -247,9 +247,9 @@ | ||
247 | 247 | function votes (msg) { |
248 | 248 | var votes = h('div.votes') |
249 | 249 | if (msg.key) { |
250 | 250 | pull( |
251 | - sbot.links({rel: 'vote', dest: msg.key, live: true }), | |
251 | + sbot.links({rel: 'vote', dest: msg.key/*, live: true*/ }), | |
252 | 252 | pull.drain(function (link) { |
253 | 253 | if (link.key) { |
254 | 254 | sbot.get(link.key, function (err, data) { |
255 | 255 | if (err) throw err |
Built with git-ssb-web