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
Fix bitbucket iterationCount limit
Carlos Monastyrski047fd9371fed
diff --git a/backend/src/services/app-connection/bitbucket/bitbucket-connection-fns.ts b/backend/src/services/app-connection/bitbucket/bitbucket-connection-fns.tsindex 0391063c74..4abf879f8f 100644--- a/backend/src/services/app-connection/bitbucket/bitbucket-connection-fns.ts+++ b/backend/src/services/app-connection/bitbucket/bitbucket-connection-fns.ts@@ -140,7 +140,7 @@ export const listBitbucketEnvironments = async (let iterationCount = 0;// Limit to 10 iterations, fetching at most 10 * 100 = 1000 environments- while (hasNextPage && iterationCount < 100) {+ while (hasNextPage && iterationCount < 10) {// eslint-disable-next-line no-await-in-loopconst { data }: { data: { values: TBitbucketEnvironment[]; next: string } } = await request.get(environmentsUrl, {headers