[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Actually calculate some uptime data.



Update of /home/minion/cvsroot/src/minion/lib/mixminion/server
In directory moria.mit.edu:/tmp/cvs-serv11633/lib/mixminion/server

Modified Files:
	Pinger.py 
Log Message:
Actually calculate some uptime data.

Index: Pinger.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/Pinger.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- Pinger.py	12 Dec 2004 23:24:31 -0000	1.15
+++ Pinger.py	13 Dec 2004 00:23:11 -0000	1.16
@@ -759,7 +759,7 @@
         if now is None: now=time.time()
         LOG.info("Computing ping results.")
         LOG.info("Starting to compute server uptimes.")
-        self.calculateUptimes(now, now-24*60*60*12)
+        self.calculateUptimes(now-24*60*60*12, now)
         LOG.info("Starting to compute one-hop ping results")
         self.calculateOneHopResults(now)
         LOG.info("Starting to compute two-hop chain status")