mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-13 03:52:04 +00:00
feat: persist queue probe metadata
This commit is contained in:
@@ -62,8 +62,8 @@ var (
|
||||
// QueueTicketInsertSQL relies on the partial unique index in migration 0001
|
||||
// as the cross-replica one-active-ticket fence.
|
||||
QueueTicketInsertSQL = `INSERT INTO queue_tickets
|
||||
(ticket_id, player_id, playlist, state, client_build, protocol_version, enqueued_at, expires_at)
|
||||
VALUES ($1, $2, $3, 'QUEUED', $4, $5, $6, $7)`
|
||||
(ticket_id, player_id, playlist, state, client_build, protocol_version, enqueued_at, expires_at, predicted_rtt)
|
||||
VALUES ($1, $2, $3, 'QUEUED', $4, $5, $6, $7, $8)`
|
||||
|
||||
// CandidateClaimSQL must run in the same serializable transaction as
|
||||
// ProposalParticipantInsertSQL. SKIP LOCKED lets another matcher continue,
|
||||
|
||||
Reference in New Issue
Block a user