From 472eb9926ada90c913b540231f388f97ff2cd22e Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Sat, 16 Oct 2010 16:05:14 +0200 Subject: [PATCH] tolerate more messages/sec --- src/qtgui/logwidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qtgui/logwidget.h b/src/qtgui/logwidget.h index 611ffae1..0d9eec11 100644 --- a/src/qtgui/logwidget.h +++ b/src/qtgui/logwidget.h @@ -55,7 +55,7 @@ public: int ms = m_timer->getMilliseconds(); if (ms > 1000) { Float messagesPerSecond = m_messageCount / (ms / 1000.0f); - if (messagesPerSecond > 200) { + if (messagesPerSecond > 1000) { emit textMessage(EError, QString("Flood alert: received %1 messages in %2 ms! Ignoring " "future messages to prevent the user interface from freezing. "