mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Update secret-fns.ts
This commit is contained in:
@@ -112,8 +112,8 @@ const generatePaths = (
|
||||
folderId: child.id
|
||||
});
|
||||
|
||||
// We make sure that the max depth doesn't exceed 20.
|
||||
// We do this to make as a "circuit break", basically to ensure that we can't encounter any potential memory leaks.
|
||||
// We make sure that the recursion depth doesn't exceed 20.
|
||||
// We do this to create "circuit break", basically to ensure that we can't encounter any potential memory leaks.
|
||||
if (currentDepth >= 20) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user