Skip to content

Allow setting of autoclaim timeout #87

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

Open
rlandingham opened this issue Apr 24, 2025 · 2 comments
Open

Allow setting of autoclaim timeout #87

rlandingham opened this issue Apr 24, 2025 · 2 comments

Comments

@rlandingham
Copy link

Running into an issue where if you close a worker while it is trying to get data, it does not gracefully stop the listen command. This causes the lock to be stuck for an entire queue. There shouuld be an option to manually unlock, or set a timeout for the lock in these situations. Realistically the lock should be short lived, so anything over maybe a minute is most likley due to an issue or stuck lock.

@s3rius
Copy link
Member

s3rius commented Apr 24, 2025

That is weird, because we use with statement. Which should correctly remove the lock on raised exception or worker exit. I need to look into it more closely.

@rlandingham
Copy link
Author

Yeah, I saw the same thing and was surprised. I will also note I see tasks that were mid run get marked as failed with error "Keyboardinterupt", so may only be issue when a process gets hard killed.

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

No branches or pull requests

2 participants