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

Consider migrating BG Tasks to Celery #184

Closed
ghukill opened this issue Jun 9, 2018 · 4 comments
Closed

Consider migrating BG Tasks to Celery #184

ghukill opened this issue Jun 9, 2018 · 4 comments
Milestone

Comments

@ghukill
Copy link
Contributor

ghukill commented Jun 9, 2018

Not sure how, or if, this is possible with Django Background Tasks. Perhaps restarting the supervisor listening process is a possibility? or would that trigger retries?

@ghukill
Copy link
Contributor Author

ghukill commented Jul 19, 2018

This has proved to be pretty important functionality.

Unfortunately, it might suggest looking at a more robust bg task framework like Celery.

@ghukill ghukill changed the title Ability to cancel background task Consider migrating BG Tasks to Celery Aug 1, 2018
@ghukill ghukill removed the priority label Sep 27, 2018
@ghukill ghukill modified the milestones: v0.4, v0.3 Oct 5, 2018
@ghukill
Copy link
Contributor Author

ghukill commented Oct 5, 2018

Scaffolding begins in celery branch, looking hopeful it will nicely address scaling, extensibility, and blocking nature of django bg tasks.

@ghukill
Copy link
Contributor Author

ghukill commented Oct 5, 2018

Consider callback for closing task, updating timestamp, etc.?

@ghukill
Copy link
Contributor Author

ghukill commented Oct 6, 2018

Done. Fairly major change, but much of the work was swapping out Django background tasks for celery, while scaffolding for CombineBackgroundTask was already in place. Likely issues and bugs will arise, but will open seperately. Closing here.

@ghukill ghukill closed this as completed Oct 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant