git ssb

2+

ev / mvd



Commit a8221d7410bb00bbd9d418fea1249dc77aa1f981

disable live queries to speed things up

Ev Bogue committed on 10/11/2018, 6:54:24 PM
Parent: 60ea2a8f16d4a0a20cfabcb154eaf98c4e370387

Files changed

render.jschanged
render.jsView
@@ -162,9 +162,9 @@
162162
163163 message.appendChild(h('div.message__body', tools.markdown(msg.value.content.text)))
164164
165165 pull(
166- sbot.query({query: [{$filter: {value: {content: {type: 'edit', original: msg.key}}}}], limit: 100, live: true}),
166 + sbot.query({query: [{$filter: {value: {content: {type: 'edit', original: msg.key}}}}], limit: 100}),
167167 pull.drain(function (update) {
168168 if (update.sync) {
169169 } else {
170170 var newMessage = h('div', tools.markdown(update.value.content.text))
@@ -224,9 +224,9 @@
224224
225225 message.appendChild(h('div.message__body', tools.markdown(msg.value.content.text)))
226226
227227 pull(
228- sbot.query({query: [{$filter: {value: {content: {type: 'edit', original: msg.key}}}}], limit: 100, live: true}),
228 + sbot.query({query: [{$filter: {value: {content: {type: 'edit', original: msg.key}}}}], limit: 100}),
229229 pull.drain(function (update) {
230230 if (update.sync) {
231231 } else {
232232 var newMessage = h('div', tools.markdown(update.value.content.text))

Built with git-ssb-web