mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 14:10:44 +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
|
|
@ -142,3 +142,9 @@ def run_api_startup() -> None:
|
|||
)
|
||||
|
||||
start_api_sideband_threads()
|
||||
try:
|
||||
from .runtime_budget import log_runtime_budget
|
||||
|
||||
log_runtime_budget(role="api")
|
||||
except Exception:
|
||||
_log.exception("startup: runtime budget log failed")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue