mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
Fir for broken V1 db connection (#11382)
This commit is contained in:
@@ -55,7 +55,7 @@ class DbSessionInjector(BaseModel, Injector[async_sessionmaker]):
|
||||
if self.user is None:
|
||||
self.user = os.getenv('DB_USER', 'postgres')
|
||||
if self.password is None:
|
||||
self.password = SecretStr(os.getenv('DB_PASS', 'postgres'))
|
||||
self.password = SecretStr(os.getenv('DB_PASS', 'postgres').strip())
|
||||
if self.gcp_db_instance is None:
|
||||
self.gcp_db_instance = os.getenv('GCP_DB_INSTANCE')
|
||||
if self.gcp_project is None:
|
||||
|
||||
Reference in New Issue
Block a user