v1.2.20: remaining Codex fixes — _op_results lock, advisory lock for scenarios, _ensure_schema logging, stale async generation token, validate-cfs explicit JSONDecodeError
This commit is contained in:
+5
-2
@@ -58,8 +58,11 @@ def _ensure_schema():
|
||||
from db.init_db import init_db
|
||||
init_db()
|
||||
_initialized = True
|
||||
except Exception:
|
||||
pass # без БД приложение работает (без истории)
|
||||
except Exception as e:
|
||||
print(f"[DB] Schema init FAILED: {e}", flush=True)
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
# Приложение продолжает работу БЕЗ БД (без истории/сценариев)
|
||||
|
||||
|
||||
def get_pool():
|
||||
|
||||
Reference in New Issue
Block a user