[Zodb-checkins] CVS: ZODB3/ZEO - ClientStorage.py:1.63 StorageServer.py:1.68

Guido van Rossum guido@python.org
Thu, 19 Sep 2002 15:15:49 -0400


Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv28491/ZEO

Modified Files:
	ClientStorage.py StorageServer.py 
Log Message:
Make the default for pack() synchronous.

=== ZODB3/ZEO/ClientStorage.py 1.62 => 1.63 ===
--- ZODB3/ZEO/ClientStorage.py:1.62	Wed Sep 18 23:51:22 2002
+++ ZODB3/ZEO/ClientStorage.py	Thu Sep 19 15:15:48 2002
@@ -337,7 +337,7 @@
         finally:
             self._oid_lock.release()
 
-    def pack(self, t=None, rf=None, wait=0, days=0):
+    def pack(self, t=None, rf=None, wait=1, days=0):
         # XXX Is it okay that read-only connections allow pack()?
         # rf argument ignored; server will provide it's own implementation
         if t is None:


=== ZODB3/ZEO/StorageServer.py 1.67 => 1.68 ===
--- ZODB3/ZEO/StorageServer.py:1.67	Thu Sep 19 09:25:28 2002
+++ ZODB3/ZEO/StorageServer.py	Thu Sep 19 15:15:48 2002
@@ -249,7 +249,7 @@
     def endZeoVerify(self):
         self.client.endVerify()
 
-    def pack(self, time, wait=0):
+    def pack(self, time, wait=1):
         if wait:
             return run_in_thread(self.pack_impl, time)
         else: