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:
parent
f10d0fd3f5
commit
146ea4822d
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue