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:
oliver 2026-08-02 18:16:30 +08:00
parent e0503df8a5
commit 96be90bd1a
11 changed files with 167 additions and 14 deletions

View file

@ -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()