mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 04:20:45 +08:00
Harden retention under one-click start: UME raw caps and collection TTL.
Keep inline schedulers as the start_netx.ps1 default while bounding UME raw_json and pruning old NE collection dirs on startup. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
e0503df8a5
commit
96be90bd1a
11 changed files with 167 additions and 14 deletions
|
|
@ -167,6 +167,10 @@ class Settings(BaseSettings):
|
|||
# oclaw alarm forwarder: requeue attempts before drop on send failure.
|
||||
oclaw_forward_max_retries: int = 3
|
||||
oclaw_forward_queue_max: int = 5000
|
||||
# Cap persisted UME raw_json blobs (inventory / alarms / sync batch meta).
|
||||
ume_raw_json_max_bytes: int = 64 * 1024
|
||||
# Delete NE collection job dirs older than N days (0 disables).
|
||||
ne_collection_keep_days: int = 14
|
||||
|
||||
|
||||
settings = Settings()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue