Browse Source
- utun_node.cpp: open topo_sqlite_db with FULLMUTEX + all PRAGMAs (WAL, FK, NORMAL sync, checkpoint) - db_sync.c: reuse inst->topo_sqlite_db if available (shared_db flag) - chat_core.c: reuse inst->topo_sqlite_db if available (shared_db flag) - db_sync_destroy/chat_core_destroy: skip close on shared handle - Only topo_groups_destroy closes the shared handle - Fallback: each module opens own connection if topo_sqlite_db is NULLtopo_upd
3 changed files with 51 additions and 17 deletions
Loading…
Reference in new issue