Commit b109788a authored by Mark Harding's avatar Mark Harding
Browse files

(chore): enable for cassandra username/password

parent 9b4c685a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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))