# 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