Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
在使用过程中,发现数据库session几分钟不发送数据就超时崩溃了,像sqlalchemy这种库可以采用什么办法自动维持连接?
@winter 具体可以参考文章,讲述了如何来解决这种问题:https://docs.sqlalchemy.org/en/14/core/engines.html#sqlalchemy.create_engine.params.pool_pre_ping