• Mahmoud Aglan's avatar
    fix: bulletproof matchmaking queue across all games · 1c145579
    Mahmoud Aglan authored
    - Add dequeue handler to backgammon-match.php (was missing)
    - Add 90-second stale entry cleanup to ludo/domino/backgammon queues
    - Add atomic opponent claiming (conditional update) to prevent race conditions
    - Fix client queue.js to route dequeue to correct game endpoint
    - Register unmountQueue for proper cleanup when exiting search screen
    - Remove json_encode on jsonb fields in backgammon (prevent double-encoding)
    
    Fixes: self-matching, ghost queue entries, and race condition where two
    players simultaneously claim the same opponent.
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    1c145579
Name
Last commit
Last update
..
auth Loading commit data...
backgammon Loading commit data...
chess Loading commit data...
domino Loading commit data...
ludo Loading commit data...
org Loading commit data...
play Loading commit data...
profile Loading commit data...
puzzles Loading commit data...
rank Loading commit data...
rewards Loading commit data...
shop Loading commit data...
social Loading commit data...
tournaments Loading commit data...