mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-12 15:20:44 +08:00
- 启用 WAL 模式(Write-Ahead Logging),大幅提升并发读写性能 - 为所有数据库操作添加自动重试机制(最多 3 次,指数退避) - 设置连接超时时间(5 秒)和忙等待超时(5 秒),避免长时间阻塞 - 优化连接关闭逻辑,确保异常情况下也能正确释放资源 |
||
|---|---|---|
| .. | ||
| cloudsaver.py | ||
| db.py | ||
| douban_service.py | ||
| pansou.py | ||
| tmdb_service.py | ||