Actually report the # of dbQueue entries

This commit is contained in:
Isaac Connor 2021-10-31 22:16:15 -04:00
parent dd949bb129
commit 61f7989bec
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ void zmDbQueue::process() {
Logger *log = Logger::fetch();
Logger::Level db_level = log->databaseLevel();
log->databaseLevel(Logger::NOLOG);
Warning("db queue size has grown larger than 10 entries");
Warning("db queue size has grown larger %zu than 10 entries", mQueue.size());
log->databaseLevel(db_level);
}
std::string sql = mQueue.front();