Actions
Bug #266
open
KA
KA
Fix Implemented for In-Play Bet Issue Caused by WebSocket Disconnection
Bug #266:
Fix Implemented for In-Play Bet Issue Caused by WebSocket Disconnection
Description
Previously
1.Bet accepted
2.Game result processed
3.Before updating DB, send playerInfo (balance update) via WebSocket
4.WebSocket connection was lost while sending playerInfo
5.Because of the exception, bet history was not updated to db
6.The bet remained in INPLAY status even though the outcome was already decided
7.This caused inconsistency: bet processed internally but history not updated.
Fix
process result → update DB (bet history, status, result) → send playerInfo via WebSocket
Actions