mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 20:23:18 +08:00
Default collectors inline with the API again.
Frontend+backend start is enough; external worker remains an optional production split. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
136f40cdae
commit
b03c92bdef
8 changed files with 14 additions and 13 deletions
|
|
@ -36,7 +36,7 @@ def health_ready(db: Session = Depends(get_db)) -> dict[str, Any]:
|
|||
"db": "down",
|
||||
"error": str(exc)[:240],
|
||||
}
|
||||
inline = bool(getattr(settings, "run_inline_schedulers", False))
|
||||
inline = bool(getattr(settings, "run_inline_schedulers", True))
|
||||
out["schedulers"] = {
|
||||
"inline": inline,
|
||||
"mode": "inline" if inline else "external_worker",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue