add random match-making logic

This commit is contained in:
2026-09-21 22:40:35 +03:00
parent 30cf8c7215
commit 7db58e42ab
7 changed files with 163 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
# Redis configuration
# Development/test: localhost:6379 (default)
# Production: set REDIS_URL env variable, e.g. redis://redis.example.com:6379/0
RedisConnection = ConnectionPool.new(size: 5, timeout: 5) do
Redis.new(url: ENV.fetch("REDIS_URL", "redis://localhost:6380/0"))
end