mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 03:10:46 +08:00
Expose worker scheduler health via heartbeat and isolate WebCRT IO.
API /metrics and /health/ready now read a worker heartbeat when collectors are split out; WebCRT blocking I/O uses a dedicated executor so session pumps do not starve the default pool. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
7b62824c2c
commit
f64835749a
12 changed files with 366 additions and 13 deletions
|
|
@ -56,7 +56,9 @@ NETX_UME_NOTIFICATION_TOPIC=ALARM
|
|||
# NETX_SQL_READONLY_DATABASE_URL=postgresql+psycopg://netx_ro:xxx@127.0.0.1:5432/netx
|
||||
# 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`
|
||||
# (start_netx.ps1/.sh do this automatically). Worker writes heartbeat for API /metrics.
|
||||
# NETX_RUN_INLINE_SCHEDULERS=false
|
||||
# NETX_SCHEDULER_HEARTBEAT_PATH=data/runtime/scheduler_heartbeat.json
|
||||
# --- Multi-user shared-server capacity (defaults in Settings already match these) ---
|
||||
# NETX_DB_POOL_SIZE=40
|
||||
# NETX_DB_MAX_OVERFLOW=40
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue