mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 06:40:45 +08:00
Adopt production-safe runtime defaults and forwarder retry limits.
Lower CLI/WebCRT/audit caps, log startup capacity warnings, and bound oclaw requeues so reconnect storms cannot thrash memory. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
d56020d84c
commit
fa577aa3bd
22 changed files with 238 additions and 69 deletions
|
|
@ -39,6 +39,12 @@ def main() -> None:
|
|||
from .ume_runtime import start_device_schedulers
|
||||
|
||||
start_device_schedulers()
|
||||
try:
|
||||
from .runtime_budget import log_runtime_budget
|
||||
|
||||
log_runtime_budget(role="worker")
|
||||
except Exception:
|
||||
_log.exception("worker runtime budget log failed")
|
||||
_log.info("netx worker schedulers started (config_sync, lldp_collect, port_traffic)")
|
||||
|
||||
while not stop.is_set():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue