Commit a8221d7410bb00bbd9d418fea1249dc77aa1f981
disable live queries to speed things up
Ev Bogue committed on 10/11/2018, 6:54:24 PMParent: 60ea2a8f16d4a0a20cfabcb154eaf98c4e370387
Files changed
render.js | changed |
render.js | |||
---|---|---|---|
@@ -162,9 +162,9 @@ | |||
162 | 162 … | ||
163 | 163 … | message.appendChild(h('div.message__body', tools.markdown(msg.value.content.text))) | |
164 | 164 … | ||
165 | 165 … | 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}), | ||
167 | 167 … | pull.drain(function (update) { | |
168 | 168 … | if (update.sync) { | |
169 | 169 … | } else { | |
170 | 170 … | var newMessage = h('div', tools.markdown(update.value.content.text)) | |
@@ -224,9 +224,9 @@ | |||
224 | 224 … | ||
225 | 225 … | message.appendChild(h('div.message__body', tools.markdown(msg.value.content.text))) | |
226 | 226 … | ||
227 | 227 … | 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}), | ||
229 | 229 … | pull.drain(function (update) { | |
230 | 230 … | if (update.sync) { | |
231 | 231 … | } else { | |
232 | 232 … | var newMessage = h('div', tools.markdown(update.value.content.text)) |
Built with git-ssb-web