db: log SQL worker shutdown state
Some checks failed
build / Linux asan (push) Has been cancelled
build / Linux release (push) Has been cancelled
build / FreeBSD build (push) Has been cancelled

This commit is contained in:
server
2026-04-14 11:22:30 +02:00
parent 719440575f
commit aa862d829d
4 changed files with 76 additions and 1 deletions

View File

@@ -243,7 +243,9 @@ int main()
signal_timer_disable();
sys_log(0, "[SHUTDOWN] DB main loop finished, quitting SQL workers");
DBManager.Quit();
sys_log(0, "[SHUTDOWN] DB SQL workers stopped");
int iCount;
while (1)
@@ -260,6 +262,8 @@ int main()
sys_log(0, "WAITING_QUERY_COUNT %d", iCount);
}
sys_log(0, "[SHUTDOWN] DB process exiting cleanly");
log_destroy();
return 0;
}