Ognjen Regoje bio photo

MY NAME IS
Ognjen Regoje
BUT YOU CAN CALL ME OGGY


I make things that run on the web (mostly).
More /ABOUT me.

me@ognjen.io Twitter LinkedIn Instagram Github

Connecting the Split gem to password protected redis

Split config accepts a host string directly as well as an instance of Redis. Therefore, we can use Redis to connect split to a password protected redis server.

  # config/initalizers/split.rb
  Split.redis = Redis.new(
    host: HOST,
    port: <PORT>,
    password: <PASSWORD>
    thread_safe: true
  )

#devops #rails #redis #split #technical