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

Report queue item success in a different context #197

Open
mcbenjemaa opened this issue Jun 20, 2023 · 2 comments
Open

Report queue item success in a different context #197

mcbenjemaa opened this issue Jun 20, 2023 · 2 comments

Comments

@mcbenjemaa
Copy link

Actually, I have a code that creates some async jobs but i need to report that the queue item is done, in the job itself. which is a completely separated context.

Can this be achieved?

@mcbenjemaa mcbenjemaa changed the title Remove item from the queue in a different routine Report queue item success in a different context Jun 20, 2023
@vgarvardt
Copy link
Owner

Jobs do not know anything about other jobs unless you implement some additional functionality to track created jobs that you want to cleanup manually.

@mcbenjemaa
Copy link
Author

I have done this via a cache and predefined custom errors.

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