Reduce live feed lag with consumer reset controls

- Add API JetStream deliver policy and reset env flags
- Reset stale API consumers on startup when needed
- Move synthetic trade emission after NBBO to reduce lag
This commit is contained in:
dirtydishes 2026-04-29 00:12:29 -04:00
parent da942079f3
commit d3ff19b5c0
5 changed files with 157 additions and 34 deletions

View file

@ -181,7 +181,7 @@ Default `smart-money` behavior:
### API
- `API_PORT`, `REST_DEFAULT_LIMIT`
- `API_PORT`, `REST_DEFAULT_LIMIT`, `API_DELIVER_POLICY`, `API_CONSUMER_RESET`
- `LIVE_LIMIT_OPTIONS`, `LIVE_LIMIT_NBBO`, `LIVE_LIMIT_EQUITIES`, `LIVE_LIMIT_EQUITY_JOINS`, `LIVE_LIMIT_FLOW`, `LIVE_LIMIT_CLASSIFIER_HITS`, `LIVE_LIMIT_ALERTS`, `LIVE_LIMIT_INFERRED_DARK` (bounded live generic cache depths; defaults `10000`, max `100000`)
### Web live retention