[Konversation-devel] [Bug 126577] Lag in message transmission

Florent Bruneau florent.bruneau_kde at polytechnique.org
Mon May 1 21:27:02 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=126577         




------- Additional Comments From florent.bruneau_kde polytechnique org  2006-05-01 21:27 -------
It seems that it is a consequence of the exponential growth of the 'timerInterval'. I made the following patch. The problem of this patch is that it may remove the flooding protection.

diff -ur konversation-0.19/konversation/src/server.cpp konversation-0.19.new/konversation/src/server.cpp
--- konversation-0.19/konversation/src/server.cpp   2006-01-30 09:43:46.000000000 +0100
+++ konversation-0.19.new/konversation/src/server.cpp   2006-05-01 21:15:53.000000000 +0200
 @ -1212,7 +1212,7  @
     {
         outputBuffer.append(buffer);

-        timerInterval*=2;
+//        timerInterval*=2;
     }
 }

 @ -1223,7 +1223,7  @
     {
         outputBuffer.insert(outputBuffer.at(pos),buffer);

-        timerInterval*=2;
+//        timerInterval*=2;
     }
     else
     {


More information about the Konversation-devel mailing list