Skip to content

feat(websocket): live odds WebSocket channel per market (#1361) - #1495

Merged
Olowodarey merged 1 commit into
Arena1X:mainfrom
Awointa:feat/1361-live-odds-websocket-channel
Jul 30, 2026
Merged

feat(websocket): live odds WebSocket channel per market (#1361)#1495
Olowodarey merged 1 commit into
Arena1X:mainfrom
Awointa:feat/1361-live-odds-websocket-channel

Conversation

@Awointa

@Awointa Awointa commented Jul 30, 2026

Copy link
Copy Markdown
Contributor
  • Add ODDS_THROTTLE_MS env var (default 500ms) to env.validation.ts and .env.example
  • Add OddsBroadcasterService with per-market subscriber tracking, leading+trailing throttle, and automatic room cleanup on last unsubscribe
  • Add subscribe:market / unsubscribe:market handlers to EventsGateway; track per-socket market subscriptions for clean disconnect handling
  • Register and export OddsBroadcasterService from WebsocketModule

closes #1361

- Add ODDS_THROTTLE_MS env var (default 500ms) to env.validation.ts and .env.example
- Add OddsBroadcasterService with per-market subscriber tracking, leading+trailing
  throttle, and automatic room cleanup on last unsubscribe
- Add subscribe:market / unsubscribe:market handlers to EventsGateway; track
  per-socket market subscriptions for clean disconnect handling
- Register and export OddsBroadcasterService from WebsocketModule
@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
insight-arena-4rll Ready Ready Preview Jul 30, 2026 7:53am

@drips-wave

drips-wave Bot commented Jul 30, 2026

Copy link
Copy Markdown

@Awointa Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Olowodarey
Olowodarey merged commit 34bd209 into Arena1X:main Jul 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Backend] — Live Odds WebSocket Channel per Market

2 participants