Project

General

Profile

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

Added by Kalyani A about 2 hours ago. Updated about 2 hours ago.

Status:
Ready for Test
Priority:
High
Assignee:
Target version:
Start date:
10-12-2025
Due date:
% Done:

0%

Estimated time:
1:00 h

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

Also available in: PDF Atom