git ssb

9+

cel / ssb-viewer



Commit f5e2111be8db7544d34c2400b3b8b02a24ed91e8

Serve more messages by default in user-feed as people seem more active :) Still a hack though

Anders Rune Jensen committed on 5/31/2017, 7:07:52 PM
Parent: 8c420a8d3bd2ae01b8ecb8409e951c5fde1e0f8d

Files changed

index.jschanged
index.jsView
@@ -163,15 +163,15 @@
163163 }
164164
165165 function serveFeeds(req, res, following, channelSubscriptions, feedId, name) {
166166 pull(
167- sbot.createLogStream({ reverse: true, limit: 2500 }),
167 + sbot.createLogStream({ reverse: true, limit: 5000 }),
168168 pull.filter((msg) => {
169169 return !msg.value ||
170170 (msg.value.author in following ||
171171 msg.value.content.channel in channelSubscriptions)
172172 }),
173- pull.take(100),
173 + pull.take(150),
174174 pull.collect(function (err, logs) {
175175 if (err) return respond(res, 500, err.stack || err)
176176 res.writeHead(200, {
177177 'Content-Type': ctype("html")

Built with git-ssb-web