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

@ -5,6 +5,8 @@ REDIS_URL=redis://redis:6379
API_PORT=4000
REST_DEFAULT_LIMIT=200
API_DELIVER_POLICY=new
API_CONSUMER_RESET=false
NPM_SHARED_NETWORK=npm-shared