mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-04-10 16:46:16 +00:00
WikiTree: Limit number of descendant generations to 5
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user