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

Use custom version of cachetools.TTLCache #234

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

mcucchi9
Copy link
Collaborator

This PR implements the use of a custom version of cachetools.TTLCache cache for the get_resource_properties functions, ignoring KeyError when deleting expired items. This should prevents raise condition causing the issue reported in https://jira.ecmwf.int/browse/COPDS-2358.

@mcucchi9 mcucchi9 self-assigned this Jan 13, 2025
@mcucchi9 mcucchi9 merged commit 504ac79 into main Jan 15, 2025
8 of 9 checks passed
@mcucchi9
Copy link
Collaborator Author

This was merged by error.

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

Successfully merging this pull request may close these issues.

1 participant