diff --git a/redash/settings/__init__.py b/redash/settings/__init__.py index abb40907e3..eb30c854ce 100644 --- a/redash/settings/__init__.py +++ b/redash/settings/__init__.py @@ -34,9 +34,9 @@ DB_PORT = os.getenv("REDASH_DATABASE_PORT", "6432") DB_NAME = os.getenv("REDASH_DATABASE_NAME", "postgres") database_default_url = os.environ.get("DATABASE_URL", f"postgresql://{DB_USER}:{DB_PASSWORD}@{DB_HOST}:{DB_PORT}/{DB_NAME}") -print(database_default_url) +print(database_default_url,"database_default_url") SQLALCHEMY_DATABASE_URI = os.getenv("REDASH_DATABASE_URL", database_default_url) -print(SQLALCHEMY_DATABASE_URI) +print(SQLALCHEMY_DATABASE_URI,"SQLALCHEMY_DATABASE_URI") SQLALCHEMY_MAX_OVERFLOW = int_or_none(os.environ.get("SQLALCHEMY_MAX_OVERFLOW")) SQLALCHEMY_POOL_SIZE = int_or_none(os.environ.get("SQLALCHEMY_POOL_SIZE")) SQLALCHEMY_DISABLE_POOL = parse_boolean(os.environ.get("SQLALCHEMY_DISABLE_POOL", "false"))