mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-06 12:35:14 +00: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
|
|
})
|