🔧 Update default max cache time for secret value retrieval to 30 days

This commit is contained in:
2026-04-06 23:01:27 +08:00
parent e58fd9b656
commit a5be4f19de

View File

@@ -1675,7 +1675,7 @@ export async function getSecretValue(
{ {
tryRefresh: options?.tryRefresh, tryRefresh: options?.tryRefresh,
defaultCacheTimeSecs: options?.defaultCacheTimeSecs ?? 3600, defaultCacheTimeSecs: options?.defaultCacheTimeSecs ?? 3600,
maxCacheTimeSecs: options?.maxCacheTimeSecs ?? 3600 * 24, maxCacheTimeSecs: options?.maxCacheTimeSecs ?? 3600 * 24 * 30,
}, },
); );
} }