Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Update secret-fns.ts
Daniel Hougaard702cd0d403f4
diff --git a/backend/src/services/secret/secret-fns.ts b/backend/src/services/secret/secret-fns.tsindex edd656b55d..5f0c445ba0 100644--- a/backend/src/services/secret/secret-fns.ts+++ b/backend/src/services/secret/secret-fns.ts@@ -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;}