Hi, I'm was testing the project by fastapi + sqlalchemy, i write golang code for sending thread parallelism to the my API endpoint, I found a problem, in the sqlalchemy many requests fail,
this is my config : SQLALCHEMY_DATABASE_URL = config("DATABASE_URL") engine = create_engine(SQLALCHEMY_DATABASE_URL) SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine) I took a video of this problem, https://drive.google.com/file/d/1rgd_GBwRQHmiv-C-26luFfESKIByQP4U/view?usp=sharing We do not know exactly how to solve the problem. sqlalchemy must cover many requests connection. Thanks, Ramin -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/903d7ec2-6ec4-4de9-b022-af4ea44d5dcbn%40googlegroups.com.