[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    icecream/daemon
From:       Dirk Mueller <mueller () kde ! org>
Date:       2006-09-12 14:44:24
Message-ID: 1158072264.311832.32643.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 583529 by mueller:

guessing out of the blue: trying to make the scheduler
kicks a little bit less frequent. the real fix is found
in the make-it-cool branch though


 M  +1 -1      main.cpp  


--- trunk/icecream/daemon/main.cpp #583528:583529
@@ -519,7 +519,7 @@
     gettimeofday( &now, 0 );
 
     /* the scheduler didn't ping us for a long time, assume dead connection and recover */
-    if (now.tv_sec - last_scheduler_ping >= max_scheduler_ping + 2 * max_scheduler_pong) {
+    if (!send_ping && now.tv_sec - last_scheduler_ping >= max_scheduler_ping + 2 * max_scheduler_pong) {
         log_error() << "scheduler timeout.. " << now.tv_sec - last_scheduler_ping << " bigger than " <<
             max_scheduler_ping + 2*max_scheduler_pong << " nuking" << endl;
         close_scheduler();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic