Bump the db queue limit to 30 before we warn. I only have 1 server that gets over 20 and it is still ok.

This commit is contained in:
Isaac Connor 2022-01-21 09:44:44 -05:00
parent f10d0fd3f5
commit 146ea4822d
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ void zmDbQueue::process() {
mCondition.wait(lock); mCondition.wait(lock);
} }
while (!mQueue.empty()) { while (!mQueue.empty()) {
if (mQueue.size() > 20) { if (mQueue.size() > 30) {
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);