mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-11 00:14:00 +00:00
feat(multiplayer): persist live reconnect abandonments
This commit is contained in:
@@ -52,7 +52,7 @@ FOR UPDATE`
|
||||
QueueCooldownSelectSQL = `SELECT ends_at
|
||||
FROM penalties
|
||||
WHERE player_id = $1 AND playlist = $2
|
||||
AND kind IN ('PROPOSAL_DECLINED', 'PROPOSAL_TIMEOUT')
|
||||
AND kind IN ('PROPOSAL_DECLINED', 'PROPOSAL_TIMEOUT', 'INITIAL_CONNECT_NO_SHOW', 'MATCH_ABANDONED')
|
||||
AND ends_at > $3
|
||||
ORDER BY ends_at DESC
|
||||
LIMIT 1`
|
||||
|
||||
Reference in New Issue
Block a user