Fix accidentally hardcode max depth in searching upstream nodes
This commit is contained in:
parent
b586bdc02f
commit
6574dfb7ea
1 changed files with 1 additions and 1 deletions
|
|
@ -817,7 +817,7 @@ class MongoGraphStorage(BaseGraphStorage):
|
|||
"connectFromField": "source_node_id",
|
||||
"connectToField": "target_node_id",
|
||||
"as": "connected_edges",
|
||||
"maxDepth": 3,
|
||||
"maxDepth": max_depth,
|
||||
"depthField": "depth",
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue