WikiTree: Limit number of descendant generations to 5

This commit is contained in:
Przemek Wiech 2020-03-18 23:22:29 +01:00
parent d195a7c9ea
commit 5aebf3c7f4

View File

@ -188,7 +188,7 @@ export async function loadWikiTree(
// Limit the number of generations of descendants because there may be tens of
// generations for some profiles.
const descendantGenerationLimit = 10;
const descendantGenerationLimit = 5;
// Fetch descendants recursively.
let toFetch = [key];