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:
oliver 2026-08-02 16:55:46 +08:00
parent 136f40cdae
commit b03c92bdef
8 changed files with 14 additions and 13 deletions

View file

@ -54,8 +54,8 @@ NETX_UME_NOTIFICATION_TOPIC=ALARM
# NETX_ALEMBIC_UPGRADE_ON_START=false
# NETX_SKIP_LEGACY_STARTUP_DDL=false
# NETX_SQL_READONLY_DATABASE_URL=postgresql+psycopg://netx_ro:xxx@127.0.0.1:5432/netx
# Device collectors: default off in API — run `python -m netx_api.worker`.
# Lab single-process: NETX_RUN_INLINE_SCHEDULERS=true
# NETX_RUN_INLINE_SCHEDULERS=true
# Device collectors run inline with the API by default (frontend+backend start is enough).
# Production split only: NETX_RUN_INLINE_SCHEDULERS=false and run `python -m netx_api.worker`
# NETX_RUN_INLINE_SCHEDULERS=false
# NETX_AUDIT_ASYNC=true
# NETX_AUDIT_SAMPLE_N=1