Feature request: Change the default TTL (cache) to 5 minutes in the Parameters utility #4193
Closed
2 tasks done
Labels
feature-request
feature request
parameters
Parameters utility
v3
Features that will be included in Powertools v3.
Milestone
Use case
When using the Parameters utility, customers can leverage caching to minimize API calls. The default cache TTL is 5 seconds, after which Powertools expires the cache and if the parameter value is required inside the Lambda handler, a new API call may be triggered.
We suggest increasing this value to 300 seconds (5 minutes) to avoid spikes in a highly intensive workload.
Solution/User Experience
Increase the default TTL value to 300 seconds (5 minutes).
Alternative solutions
No response
Acknowledgment
The text was updated successfully, but these errors were encountered: