Commit bdff198133f1c2a6de3a2eb1374aca2178ce1813
Merge pull request #255 from ssbc/faster-startup
Don't init suggestion cache for abouts during startupmix irving authored on 9/6/2018, 11:21:19 PM
GitHub committed on 9/6/2018, 11:21:19 PM
Parent: 283fdafef8fc4dca88e3d8b26417e80e2460a4f6
Parent: ccbf46cc8e0e84c2f8137686ba1fb51a2115dbb0
Files changed
app/sync/initialise/suggestionCaches.js | changed |
app/sync/initialise/suggestionCaches.js | ||
---|---|---|
@@ -10,8 +10,9 @@ | ||
10 | 10 … | exports.create = function (api) { |
11 | 11 … | return nest('app.sync.initialise', init) |
12 | 12 … | |
13 | 13 … | function init () { |
14 | - api.about.async.suggest() | |
14 … | + // lazy load abouts on first use, can be quite heavy during startup | |
15 … | + //api.about.async.suggest() | |
15 | 16 … | api.channel.async.suggest() |
16 | 17 … | } |
17 | 18 … | } |
Built with git-ssb-web