Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 558 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 558 Bytes

RedixCluster

A wrapper around Redix that allows you to connect to a Redis cluster.

Installation

  1. Add redix_cluster to your list of dependencies in mix.exs:
  def deps do
    [{:redix_cluster_remastered, "~> 1.0.0"}]
  end
  1. Ensure redix_cluster is started before your application:
def application do
  [applications: [:redix_cluster_remastered]]
end

Sample Config

config :redix_cluster_remastered,
  cluster_nodes: [
    %{host: "localhost", port: 6379}
  ],
  pool_size: 5,
  pool_max_overflow: 0