mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
fix(sqllab): reinstate "Force trino client async execution" (#25680)
This commit is contained in:
@@ -184,7 +184,10 @@ SQLALCHEMY_TRACK_MODIFICATIONS = False
|
||||
SECRET_KEY = os.environ.get("SUPERSET_SECRET_KEY") or CHANGE_ME_SECRET_KEY
|
||||
|
||||
# The SQLAlchemy connection string.
|
||||
SQLALCHEMY_DATABASE_URI = "sqlite:///" + os.path.join(DATA_DIR, "superset.db")
|
||||
SQLALCHEMY_DATABASE_URI = (
|
||||
f"""sqlite:///{os.path.join(DATA_DIR, "superset.db")}?check_same_thread=false"""
|
||||
)
|
||||
|
||||
# SQLALCHEMY_DATABASE_URI = 'mysql://myapp@localhost/myapp'
|
||||
# SQLALCHEMY_DATABASE_URI = 'postgresql://root:password@localhost/myapp'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user