Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleaning cache problem #86

Open
EreminAnton opened this issue Jul 4, 2024 · 0 comments
Open

Cleaning cache problem #86

EreminAnton opened this issue Jul 4, 2024 · 0 comments

Comments

@EreminAnton
Copy link
Member

If the request fails before "cache_for_dublicate_requests.clear()" happens, that cache will persist and will stop users from creating new requests until the refresh of lambda's environment.
Consider cleaning the cache after sending a message to the user about an error: https://github.com/fivexl/terraform-aws-sso-elevator/blob/main/src/main.py#L39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant