Files
DataStack/core/adminSettings/manifest.md
T
Team Dark Devil 367dd819f8 docs: update architecture documentation and manifests
Refine technical documentation to reflect current architecture, component structure, and routing conventions for the vcon console.
2026-11-17 21:22:55 +06:00

16 lines
971 B
Markdown

# Admin Settings Engine Manifest
## Purpose
Manages global runtime configuration (`core/adminSettings/settingsManager.ts`), persisting settings to the PostgreSQL `admin_settings` table and applying live updates across backend engines.
## Managed Parameters
- `serverPort` (`4000`) and `webPort` (`3000`)
- `maxEventsPerSec`: Default per-client throughput ceiling (events/sec)
- `maxPayloadSizeKb`: Maximum event payload size in kilobytes
- `batchFlushThreshold`: Number of queued events that triggers an immediate CSV flush
- `batchFlushIntervalMs`: Background timer interval for periodic CSV flushes
- `fileRotationMb`: Maximum CSV partition file size before rotating to `-part2.csv`
- `autoPruneDays`: Retention window in days for automatic CSV partition pruning
- `enableIdempotency`: 5-minute TTL duplicate event filtering toggle
- `jwtSecret`: HMAC secret used to sign and verify Client SDK JWT tokens (updating this automatically re-signs existing client tokens)