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

Ensure single should timeout #2295

Open
JeffreyDevloo opened this issue May 3, 2019 · 1 comment
Open

Ensure single should timeout #2295

JeffreyDevloo opened this issue May 3, 2019 · 1 comment
Labels

Comments

@JeffreyDevloo
Copy link
Contributor

The ensure single currently waits for a process to clean itself up.
This does not happen in all cases:

  • a worker dies
  • A shell running decorated code is killed

It will also prevent the shell from mingling with tasks as tasks executed directly place the lock still but a worker restart will clear its entry.

@JeffreyDevloo
Copy link
Contributor Author

It's better to keep all data contained within the key.
If multiple keys need to be adjusted all at once, you might have to rely on assert_range which is implemented in the newest pyrakoon version.

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

No branches or pull requests

1 participant