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

Release lock after dataset cache is downloaded #708

Merged
merged 2 commits into from
Jul 13, 2022

Conversation

mralgos
Copy link
Contributor

@mralgos mralgos commented Jul 5, 2022

Ref: #671

Basically, two main changes:

  1. once the download of a dataset is completed, the lock is released immediately
  2. while a process is downloading a dataset i.e. holding the lock, other processes will wait until the lock is released (in the current fix, after 5 min of wait there's a timeout error raise. But this can be changed)

@jkhenning jkhenning merged commit 397dcfa into allegroai:master Jul 13, 2022
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