Skip to content

Commit

Permalink
feat: change consistency level for aws keyspaces (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rukesh-Kapuluru authored Jun 7, 2022
1 parent 67882a5 commit e85da7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hip_data_tools/apache/cassandra.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ class CassandraUtil:
def __init__(self, keyspace: str, conn: CassandraConnectionManager):
self.keyspace = keyspace
self._conn = conn
self.consistency_level = ConsistencyLevel.QUORUM
self.consistency_level = ConsistencyLevel.LOCAL_QUORUM
self._session = self._conn.get_session(self.keyspace)

def _cql_upsert_from_dict(self, data: dict, table: str):
Expand Down

0 comments on commit e85da7e

Please sign in to comment.