Skip to content

Commit

Permalink
fix: Correctly register cluster shutdown on exit in CassandraOnlineStore
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhargav Dodla committed Jan 13, 2025
1 parent 482b236 commit eb6660f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def _get_cluster(self, config: RepoConfig):
# creation of Session
self._keyspace = keyspace
# self._session = self._cluster.connect(self._keyspace)
atexit.register(self._cluster.shutdown())
atexit.register(self._cluster.shutdown)

return self._cluster

Expand Down

0 comments on commit eb6660f

Please sign in to comment.