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

specify saver timeout at context level #394

Merged
merged 5 commits into from
Feb 9, 2021
Merged

Conversation

JoranAngevaare
Copy link
Contributor

What is the problem / what does the code in this PR do
Allow the timeout for the saver to be specified at the context level.

When storing files with high compression, one might change the context to allow also slower savers. However at the moment this is not such a trivial task. Using the context_config, we can change this number to some different value without having to change the strax source.

@JoranAngevaare JoranAngevaare added the enhancement New feature or request label Feb 6, 2021
@JoranAngevaare
Copy link
Contributor Author

JoranAngevaare commented Feb 8, 2021

Might need this for XENONnT/straxen#358, due to that PR, savers can take up to > 60x as long

Copy link
Collaborator

@WenzDaniel WenzDaniel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot. Looks fine.

@JoranAngevaare JoranAngevaare merged commit 5f410d4 into master Feb 9, 2021
@JoranAngevaare JoranAngevaare deleted the save_timeout branch February 9, 2021 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants