mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 23:20:51 +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
|
|
@ -140,9 +140,9 @@ class Settings(BaseSettings):
|
|||
alembic_upgrade_on_start: bool = True
|
||||
# Optional dedicated SQLAlchemy URL for /v1/sql/* (read-only DB role recommended).
|
||||
sql_readonly_database_url: str = ""
|
||||
# When false (default), API skips config_sync / lldp / port_traffic schedulers —
|
||||
# run `python -m netx_api.worker` alongside the API. Set true only for single-process lab.
|
||||
run_inline_schedulers: bool = False
|
||||
# When true (default), API also runs config_sync / lldp / port_traffic schedulers.
|
||||
# Production split: set false and run `python -m netx_api.worker` beside the API.
|
||||
run_inline_schedulers: bool = True
|
||||
|
||||
|
||||
settings = Settings()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue