Actually report the # of dbQueue entries
This commit is contained in:
parent
dd949bb129
commit
61f7989bec
|
@ -255,7 +255,7 @@ void zmDbQueue::process() {
|
||||||
Logger *log = Logger::fetch();
|
Logger *log = Logger::fetch();
|
||||||
Logger::Level db_level = log->databaseLevel();
|
Logger::Level db_level = log->databaseLevel();
|
||||||
log->databaseLevel(Logger::NOLOG);
|
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);
|
log->databaseLevel(db_level);
|
||||||
}
|
}
|
||||||
std::string sql = mQueue.front();
|
std::string sql = mQueue.front();
|
||||||
|
|
Loading…
Reference in New Issue