mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 00:43:17 +08:00
Start API and collector worker together from one-click scripts.
Default start_netx.ps1/sh now set NETX_RUN_INLINE_SCHEDULERS=false and launch netx_api.worker; stop scripts tear the worker down with the API. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
96be90bd1a
commit
f1263b0848
6 changed files with 135 additions and 16 deletions
|
|
@ -84,5 +84,7 @@ NETX_UME_NOTIFICATION_TOPIC=ALARM
|
|||
# NETX_UME_RAW_JSON_MAX_BYTES=65536
|
||||
# NETX_NE_COLLECTION_KEEP_DAYS=14
|
||||
# Heavier fleets: raise CLI/DB together; also ensure Postgres max_connections and bastion session limits.
|
||||
# One-click start keeps collectors inline: .\scripts\start_netx.ps1 -Background -WithWeb
|
||||
# (do not require a separate worker process unless you opt out of inline schedulers)
|
||||
# One-click start (recommended): .\scripts\start_netx.ps1 -Background -WithWeb
|
||||
# -> API with NETX_RUN_INLINE_SCHEDULERS=false + auto-started netx_api.worker + optional Vite
|
||||
# Legacy single-process: add -InlineSchedulers
|
||||
# Stop all: .\scripts\stop_netx.ps1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue