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

Started key remains in redis db forever #296

Closed
efritz opened this issue Sep 13, 2019 · 7 comments
Closed

Started key remains in redis db forever #296

efritz opened this issue Sep 13, 2019 · 7 comments

Comments

@efritz
Copy link

efritz commented Sep 13, 2019

On exit or force-clean, a worker's started key is never removed. It is set here.

@evantahler
Copy link
Member

@efritz
Copy link
Author

efritz commented Sep 14, 2019

Yes, but that only works when untrack is called. If the worker dies no external system seems to delete the key after a force-clean.

@evantahler
Copy link
Member

Are you running a scheduler with stuckWorkerTimeout configured?

https://github.com/taskrabbit/node-resque#failed-worker-management

@efritz
Copy link
Author

efritz commented Sep 16, 2019

Yes, and it clears everything except the :started keys.

@evantahler
Copy link
Member

Ah! I get it it now! Great catch.
This will be fixed in #297

@evantahler
Copy link
Member

Closing in favor of #297

@efritz
Copy link
Author

efritz commented Sep 16, 2019

That was fast, thanks!

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