mirror of
https://github.com/mastodon/mastodon.git
synced 2025-03-21 11:09:14 +01:00
5 lines
134 B
Ruby
5 lines
134 B
Ruby
$redis = Redis.new({
|
|
host: ENV.fetch('REDIS_HOST') { 'localhost' },
|
|
port: ENV.fetch('REDIS_PORT') { 6379 },
|
|
driver: :hiredis
|
|
})
|