implement alternative match-making approach with Lua scripts in Redis

This commit is contained in:
2026-10-25 15:57:24 +03:00
parent 582ecb7c74
commit acdaebd491
19 changed files with 796 additions and 139 deletions
@@ -0,0 +1,10 @@
# Periodically re-checks the matchmaking queue: pairs players whose rating
# tolerance has widened enough, expires timed-out waiters and requeues
# players stuck in the pending state. Scheduled via config/recurring.yml.
class MatchmakingSweepJob < ApplicationJob
queue_as :default
def perform
MatchmakingService.sweep
end
end