Task 7 complete: move config operational orchestration from routers into service/task layer
This commit is contained in:
@@ -129,6 +129,11 @@ async def _run_probe(app: FastAPI) -> None:
|
||||
)
|
||||
|
||||
|
||||
async def run_probe(app: FastAPI) -> None:
|
||||
"""Run a single health probe outside the scheduled job context."""
|
||||
await _run_probe(app)
|
||||
|
||||
|
||||
def register(app: FastAPI) -> None:
|
||||
"""Add the health-check job to the application scheduler.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user