improvement: limit app connection concurrent syncs

This commit is contained in:
Scott Wilson
2025-09-04 16:52:28 -07:00
parent 8aa270545d
commit fbb243b2a0
5 changed files with 104 additions and 39 deletions
@@ -38,7 +38,7 @@ type TAwsSecretsRecord = Record<string, SecretListEntry>;
type TAwsSecretValuesRecord = Record<string, SecretValueEntry>;
type TAwsSecretDescriptionsRecord = Record<string, DescribeSecretResponse>;
const MAX_RETRIES = 5;
const MAX_RETRIES = 10;
const BATCH_SIZE = 20;
const getSecretsManagerClient = async (secretSync: TAwsSecretsManagerSyncWithCredentials) => {