Switch to Redis counter

This commit is contained in:
2026-05-17 10:48:05 -05:00
parent 5dbb6dbeae
commit 12836dd14b
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ module Mozo
class Redis
def initialize(url: nil)
require 'redis'
@redis = ::Redis.new(url: url || ENV.fetch('REDIS_URL', 'redis://localhost:6379/0'))
@redis = ::Redis.new(url: url || ENV.fetch('REDIS_URL', 'redis://localhost:6379/7'))
end
def get(key, options = {})