[Zodb-checkins] CVS: ZODB3/ZEO/zrpc - smac.py:1.33

Guido van Rossum guido@python.org
Wed, 2 Oct 2002 15:54:03 -0400


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

Modified Files:
	smac.py 
Log Message:
8096 is not a magic number.  8192 is.

=== ZODB3/ZEO/zrpc/smac.py 1.32 => 1.33 ===
--- ZODB3/ZEO/zrpc/smac.py:1.32	Sun Sep 29 03:51:37 2002
+++ ZODB3/ZEO/zrpc/smac.py	Wed Oct  2 15:54:02 2002
@@ -56,7 +56,7 @@
 
     socket = None # to outwit Sam's getattr
 
-    READ_SIZE = 8096
+    READ_SIZE = 8192
 
     def __init__(self, sock, addr, map=None, debug=None):
         self.addr = addr
@@ -93,7 +93,7 @@
         try:
             # Use a single __inp buffer and integer indexes to make this fast.
             try:
-                d = self.recv(8096)
+                d = self.recv(8192)
             except socket.error, err:
                 if err[0] in expected_socket_read_errors:
                     return