Commit b109788a authored by Mark Harding's avatar Mark Harding

(chore): enable for cassandra username/password

parent 9b4c685a
No related merge requests found
Pipeline #64058022 failed with stages
in 4 minutes and 7 seconds
......@@ -24,6 +24,7 @@ class Client implements Interfaces\ClientInterface
$this->cluster = Driver::cluster()
->withContactPoints(... $options['cql_servers'])
->withCredentials($options['username'], $options['password'])
->withLatencyAwareRouting(true)
->withDefaultConsistency(Driver::CONSISTENCY_QUORUM)
->withRetryPolicy(new Driver\RetryPolicy\Logging($retry_policy))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment