V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  gsfish  ›  全部回复第 1 页 / 共 1 页
回复总数  2
可以试试 Django 4.1 引入的 CONN_HEALTH_CHECKS ,官方的说法是:

Setting CONN_HEALTH_CHECKS to True can be used to improve the robustness of connection reuse and prevent errors when a connection has been closed by the database server which is now ready to accept and serve new connections, e.g. after database server restart. The health check is performed only once per request and only if the database is being accessed during the handling of the request.
2024-03-30 22:03:07 +08:00
回复了 yyzh 创建的主题 信息安全 libarchive 也存在一些由 Jia Tan 提交的可疑代码
苦心经营多年,在最后关头给人发现了,泪目
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4262 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 05:35 · PVG 13:35 · LAX 22:35 · JFK 01:35
Developed with CodeLauncher
♥ Do have faith in what you're doing.