Project

General

Profile

Bug #266

Updated by Kalyani A about 2 hours ago

Previously 
 1.Bet accepted 

 2.Game result processed 

 3.Before updating DB,    your server tried to send playerInfo (balance update) via WebSocket 

 4.WebSocket connection was lost while sending playerInfo 

 5.Because of the exception,    the flow never reached the DB update for 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

Back