diff --git a/backend/__pycache__/database.cpython-313.pyc b/backend/__pycache__/database.cpython-313.pyc index 5855d1c..d40c66f 100644 Binary files a/backend/__pycache__/database.cpython-313.pyc and b/backend/__pycache__/database.cpython-313.pyc differ diff --git a/backend/__pycache__/main.cpython-313.pyc b/backend/__pycache__/main.cpython-313.pyc index bedab07..2426690 100644 Binary files a/backend/__pycache__/main.cpython-313.pyc and b/backend/__pycache__/main.cpython-313.pyc differ diff --git a/backend/database.py b/backend/database.py index d1bf090..ad16b34 100644 --- a/backend/database.py +++ b/backend/database.py @@ -14,7 +14,10 @@ engine = create_engine( DATABASE_URL, - connect_args={"options": "-c client_encoding=utf8"} + connect_args={ + "sslmode": "disable", + "connect_timeout": 30 + } ) SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine) Base = declarative_base()