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

Count locked jobs as well #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Count locked jobs as well #7

wants to merge 1 commit into from

Conversation

vlasy
Copy link

@vlasy vlasy commented May 29, 2018

If the app is killed during runtime, last active job is stored in DB with lock.

After the app starts again, it process all the remaining jobs (even the one with the lock) except the last one - because the SqlStore connect does not report "locked" jobs in DB.

Expected behaviour: connect method counts all the jobs in DB - even the locked ones -> better-queue will not forget any jobs in the queue in the end.

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.

1 participant