[LON-CAPA-cvs] cvs: loncom / loncnew

foxr foxr@source.lon-capa.org
Tue, 21 Dec 2010 11:17:04 -0000


foxr		Tue Dec 21 11:17:04 2010 EDT

  Modified files:              
    /loncom	loncnew 
  Log:
  Ensure that ticks are relative to last tick calls so they can't fall on the
  heels of each other.
  
  
  
Index: loncom/loncnew
diff -u loncom/loncnew:1.91 loncom/loncnew:1.92
--- loncom/loncnew:1.91	Mon Dec 20 11:31:52 2010
+++ loncom/loncnew	Tue Dec 21 11:17:03 2010
@@ -2,7 +2,7 @@
 # The LearningOnline Network with CAPA
 # lonc maintains the connections to remote computers
 #
-# $Id: loncnew,v 1.91 2010/12/20 11:31:52 foxr Exp $
+# $Id: loncnew,v 1.92 2010/12/21 11:17:03 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -441,7 +441,8 @@
 
 sub SetupTimer {
     Debug(6, "SetupTimer");
-    Event->timer(interval => 1, cb => \&Tick );
+    Event->timer(interval => 1, cb => \&Tick,
+	hard => 1);
 }
 
 =pod