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

Which Queued Tasks are currently running? #712

Open
tylerautera opened this issue Jan 1, 2023 · 0 comments
Open

Which Queued Tasks are currently running? #712

tylerautera opened this issue Jan 1, 2023 · 0 comments

Comments

@tylerautera
Copy link

I have django-q set up to run several different background processes -- these processes take anywhere from 10 min to several hours to run.

I want the user to have visibility on which task is currently running, and which tasks are still 'waiting' to be run. Retrieving the queued tasks is straight forward with the ormq object -- but there is no indicator for which of those tasks are currently running.

I thought, that I could just 'assume' that the lowest pk(s) identifiers would always be the ones running - but that does not seem to be the case.

Any thoughts?

@Koed00

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

1 participant