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

Add timeout for DB access and sanitize #57

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

benedikt-voelkel
Copy link
Collaborator

  • rework the way of testing whether optimisation can be done using DB (previously was somewhat tailored to SQLite but of course it should work e.g. for MySQL just as well)

  • by default, add 100s timeout for DB access, otherwise it can happen that even for a low number of parallel jobs, the optimisation fails due to locked DB

  • possibility to pass kwargs in config to be used when cretaing the storage

* rework the way of testing whether optimisation can be done using DB
  (previously was somewhat tailored to SQLite but of course it should
   work e.g. for MySQL just as well)

* by default, add 100s timeout for DB access, otherwise it can happen
  that even for a low number of parallel jobs, the optimisation fails
  due to locked DB

* possibility to pass kwargs in config to be used when cretaing the
  storage
@benedikt-voelkel benedikt-voelkel merged commit 6564667 into AliceO2Group:master Sep 13, 2023
12 checks passed
@benedikt-voelkel benedikt-voelkel deleted the fix-parallel branch September 13, 2023 09:47
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.

2 participants