修复领地同步: 补全缺失字段迁移(deny_block_break等30+列)、修复重复deny_all_effects列、添加调试日志

This commit is contained in:
ypsdf1
2026-06-26 21:25:40 +08:00
parent 57fbc1ffc1
commit aa45bd5ca2
7 changed files with 89 additions and 3 deletions
+4
View File
@@ -30,6 +30,10 @@ switch ($action) {
default:
error('未知操作: ' . $action);
}
// ★ WAL checkpoint:释放WAL锁,减少database is locked概率
try { walCheckpoint(); } catch (\Throwable $ignored) {}
} catch (\Throwable $e) {
while (ob_get_level() > 0) ob_end_clean();
error('服务器内部错误: ' . $e->getMessage(), 500);