[Zope-CVS] CVS: Products/Ape/apelib/zodb3 - connection.py:1.2

Shane Hathaway shane@zope.com
Sat, 15 Mar 2003 20:47:42 -0500


Update of /cvs-repository/Products/Ape/apelib/zodb3
In directory cvs.zope.org:/tmp/cvs-serv16570/apelib/zodb3

Modified Files:
	connection.py 
Log Message:
Enabled activity monitoring

=== Products/Ape/apelib/zodb3/connection.py 1.1.1.1 => 1.2 ===
--- Products/Ape/apelib/zodb3/connection.py:1.1.1.1	Sat Mar 15 18:44:42 2003
+++ Products/Ape/apelib/zodb3/connection.py	Sat Mar 15 20:47:41 2003
@@ -277,6 +277,7 @@
             dump(state)
             p=file(1)
             s=dbstore(oid,serial,p,version,transaction)
+            self._store_count = self._store_count + 1
 
             # Put the object in the cache before handling the
             # response, just in case the response contains the
@@ -312,6 +313,7 @@
 
         try:
             p, serial = self._storage.load(oid, self._version)
+            self._load_count = self._load_count + 1
 
             # XXX this is quite conservative!
             # We need, however, to avoid reading data from a transaction