From 702cd0d403f4f4af4e46d8b8bf323083ce503723 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard <62331820+DanielHougaard@users.noreply.github.com> Date: Fri, 12 Apr 2024 13:31:48 +0200 Subject: [PATCH] Update secret-fns.ts --- backend/src/services/secret/secret-fns.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/services/secret/secret-fns.ts b/backend/src/services/secret/secret-fns.ts index edd656b55..5f0c445ba 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; }