Skip to content

Commit

Permalink
fix: Disable idle heartbeat and shard awareness in CassandraOnlineStore
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhargav Dodla committed Jan 10, 2025
1 parent 3580383 commit 26a4b70
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def _get_session(self, config: RepoConfig):
for k, v in {
"protocol_version": protocol_version,
"execution_profiles": execution_profiles,
"idle_heartbeat_interval": 5,
"idle_heartbeat_interval": 0,
}.items()
if v is not None
}
Expand All @@ -301,7 +301,6 @@ def _get_session(self, config: RepoConfig):
self._cluster = Cluster(
cloud={"secure_connect_bundle": secure_bundle_path},
auth_provider=auth_provider,
shard_aware_options=dict(disable=True),
**cluster_kwargs,
)

Expand Down

0 comments on commit 26a4b70

Please sign in to comment.