2026-11-17 21:22:55 +06:00
# Admin Settings Engine Manifest
2026-10-23 11:43:49 -05:00
## Purpose
2026-11-17 21:22:55 +06:00
Manages global runtime configuration (`core/adminSettings/settingsManager.ts` ), persisting settings to the PostgreSQL `admin_settings` table and applying live updates across backend engines.
2026-10-23 11:43:49 -05:00
## Managed Parameters
2026-11-17 21:22:55 +06:00
- `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)