load only expanded tree with the rest being lazy loaded, WIP

This commit is contained in:
azivner
2018-04-16 16:26:47 -04:00
parent d57057ba28
commit 1687ed7e0b
10 changed files with 50 additions and 47 deletions

View File

@@ -58,7 +58,7 @@ async function start() {
}
// we'll create clones for 20% of notes
for (let i = 0; i < (noteCount / 5); i++) {
for (let i = 0; i < (noteCount / 50); i++) {
const noteIdToClone = getRandomParentNoteId();
const parentNoteId = getRandomParentNoteId();
const prefix = Math.random() > 0.8 ? "prefix" : null;