完善: CSRF安全修复 + 后台任务管理 + 压测全模块覆盖 + 文档

This commit is contained in:
张志挺
2026-08-26 15:21:48 +08:00
parent f39008193f
commit 36ac5f737b
61 changed files with 7281 additions and 867 deletions
+1
View File
@@ -14,6 +14,7 @@ def _get_connection(db_path):
_local.conn.row_factory = sqlite3.Row
_local.conn.execute('PRAGMA journal_mode=WAL')
_local.conn.execute('PRAGMA foreign_keys=ON')
_local.conn.execute('PRAGMA busy_timeout=5000')
return _local.conn