Author: dmeyer
Date: Sat Apr 22 18:50:59 2006
New Revision: 1470

Modified:
   trunk/beacon/src/db.py

Log:
update debug

Modified: trunk/beacon/src/db.py
==============================================================================
--- trunk/beacon/src/db.py      (original)
+++ trunk/beacon/src/db.py      Sat Apr 22 18:50:59 2006
@@ -241,9 +241,11 @@
         # just for a simple commit and while we commit the reading of the db
         # is blocked for the client. To see only the commit times, start beacon
         # with --verbose db with a clean database.
+        t2 = time.time()
         self._db.commit()
-        log.info('db.commit took %s seconds' % (time.time() - t1))
+        t3 = time.time()
         self.signals['changed'].emit(changed_id)
+        log.info('db.commit took %1.3f/%1.3f seconds' % (t2 - t1, t3 - t2))
 
 
     def _delete(self, entry):


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to