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

Run ping-farms as a background task #87

Closed
mstenta opened this issue May 14, 2020 · 1 comment
Closed

Run ping-farms as a background task #87

mstenta opened this issue May 14, 2020 · 1 comment
Milestone

Comments

@mstenta
Copy link
Member

mstenta commented May 14, 2020

Per #86, we should rework the ping-farms endpoint so that it runs as a background task.

@mstenta mstenta added this to the v1.0.0 milestone May 14, 2020
@paul121
Copy link
Member

paul121 commented May 14, 2020

These background tasks are pretty easy to implement. FastAPI provides some convenience around the core Starlette BackgroundTasks class. Docs here: https://fastapi.tiangolo.com/tutorial/background-tasks/

@paul121 paul121 closed this as completed May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants