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

Ability to locally cache responses from CCDB header-only requests #12773

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

sawenzel
Copy link
Collaborator

This provides the ability to store responses from CcdbApi::retrieveHeaders calls to the disc, from where it can be picked up before trying to do more requests to the server.

Responses are serialized into json format. Caching is timestamp sensitive.

Caching is enabled when ALICEO2_CCDB_LOCALCACHE is set, just like when retrieving CCDB objects.

Fixes https://its.cern.ch/jira/browse/O2-4691

This provides the ability to store responses from CcdbApi::retrieveHeaders
calls to the disc, from where it can be picked up before trying to do more
requests to the server.

Responses are serialized into json format. Caching is timestamp sensitive.

Caching is enabled when ALICEO2_CCDB_LOCALCACHE is set, just like
when retrieving CCDB objects.

Fixes https://its.cern.ch/jira/browse/O2-4691
@sawenzel sawenzel requested review from costing, Barthelemy and a team as code owners February 27, 2024 12:31
Copy link
Contributor

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass
async-2023-pp-apass1
async-2022-pp-apass6
async-2022-pp-apass4
async-mc
async-data

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

Successfully merging this pull request may close these issues.

3 participants