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

LongRunningJobs do not check if the rq worker is still working #42

Closed
derneuere opened this issue Dec 19, 2020 · 1 comment
Closed

LongRunningJobs do not check if the rq worker is still working #42

derneuere opened this issue Dec 19, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@derneuere
Copy link
Member

If you destroy and rebuild the container, the scan will appear as frozen. In reality the rq worker just isn't working that job anymore. At startup the LongRunningJob should look up it's rq worker and if it isn't working, it should mark the LongRunningJob as stopped.

@derneuere derneuere added the enhancement New feature or request label Dec 19, 2020
@derneuere derneuere changed the title LongRunningJobs do not if the rq worker is still working LongRunningJobs do not check if the rq worker is still working Dec 21, 2020
@derneuere
Copy link
Member Author

We no longer use rq workers, so that issue is done :)

AnkurPrabhu pushed a commit to AnkurPrabhu/librephotos that referenced this issue Oct 22, 2023
Store throttled function as ref so it can be reused
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

No branches or pull requests

1 participant