mirror of
https://github.com/bec-project/bec_atlas.git
synced 2025-07-14 15:01:48 +02:00
fix: fixed startup
This commit is contained in:
@ -13,7 +13,6 @@ def wait_for_scylladb():
|
|||||||
try:
|
try:
|
||||||
cluster = Cluster([SCYLLA_HOST])
|
cluster = Cluster([SCYLLA_HOST])
|
||||||
session = cluster.connect()
|
session = cluster.connect()
|
||||||
session.set_keyspace(SCYLLA_KEYSPACE)
|
|
||||||
print("Connected to ScyllaDB")
|
print("Connected to ScyllaDB")
|
||||||
break
|
break
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Reference in New Issue
Block a user