mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 04:20:45 +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
|
|
@ -1,12 +1,12 @@
|
|||
"""Background worker process for long-running schedulers.
|
||||
|
||||
Default deployment: API has ``NETX_RUN_INLINE_SCHEDULERS=false``; run this
|
||||
alongside the API:
|
||||
Optional when ``NETX_RUN_INLINE_SCHEDULERS=false`` (API does not start collectors):
|
||||
|
||||
python -m netx_api.worker
|
||||
|
||||
Starts: config_sync, lldp_collect, port_traffic tick loops.
|
||||
UME WS / keepalive remain in the API process (token + alarm coordination).
|
||||
By default the API runs collectors inline — no separate worker needed.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue