Skip to content

Feature request: Change the default TTL (cache) to 5 minutes in the Parameters utility #4193

Description

@leandrodamascena

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestfeature requestparametersParameters utilityv3Features that will be included in Powertools v3.

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions