mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 05:30:46 +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
|
|
@ -27,7 +27,7 @@ class ConfigSyncPolicyOut(BaseModel):
|
|||
class ConfigSyncPolicyUpdate(BaseModel):
|
||||
enabled: bool | None = None
|
||||
interval_days: int | None = Field(default=None, ge=1, le=365)
|
||||
concurrency: int | None = Field(default=None, ge=1, le=30)
|
||||
concurrency: int | None = Field(default=None, ge=1, le=16)
|
||||
scope_mode: Literal["all", "selected"] | None = None
|
||||
selected_targets: list[ConfigSyncTargetRef] | None = None
|
||||
history_keep: int | None = Field(default=None, ge=0, le=30)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue