Fix create_keyspace options
related to https://github.com/cafebazaar/elixir-cassandra/pull/9
Hello, @clouds56! This is your first Pull Request that will be reviewed by Ebert, an automatic Code Review service. It will leave comments on this diff with potential issues and style violations found in the code as you push new commits. You can also see all the issues found on this Pull Request on its review page. Please check our documentation for more information.
Coverage increased (+0.05%) to 90.769% when pulling 401d8a1f02920371cc63c9fe52baaac4b4e3340e on clouds56:patch-1 into 1a104ef2035bfae97b74931d4ab2886a4f2fcc5f on cafebazaar:master.
Coverage increased (+0.05%) to 90.769% when pulling 401d8a1f02920371cc63c9fe52baaac4b4e3340e on clouds56:patch-1 into 1a104ef2035bfae97b74931d4ab2886a4f2fcc5f on cafebazaar:master.
@clouds56
Please give me, what's your issue/error when this line not present and make sure your fix on elixir_cassandra included
# mix.exs
{:cassandra, github: "cafebazaar/elixir-cassandra", branch: "master", override: true},
sample config:
# config/prod.ex
# Configure your database
config :app, App.Repo,
adapter: EctoCassandra.Adapter,
balancer: {TokenAware, [{RoundRobin, [num_connections: 40, max_tries: 1]}]},
contact_points: [System.get_env("DB_HOST")],
keyspace: "app",
replication: [
class: "SimpleStrategy",
replication_factor: 3,
],
write_consistency: :quorum,
read_consistency: :quorum,
executor_pool: [
size: 32,
owerflow_size: 2,
strategy: :lifo,
]