[prev in list] [next in list] [prev in thread] [next in thread]
List: zodb-checkins
Subject: [Zodb-checkins] CVS: Packages/ZEO - smac.py:1.18
From: Toby Dickenson <tdickenson () geminidataloggers ! com>
Date: 2002-07-02 7:29:06
[Download RAW message or body]
Update of /cvs-repository/Packages/ZEO
In directory cvs.zope.org:/tmp/cvs-serv18263
Modified Files:
smac.py
Log Message:
accumulate many strings into single call to send, to minimise the number of packets
=== Packages/ZEO/smac.py 1.17 => 1.18 ===
while output:
v = output[0]
+ while len(output)>1 and len(v)<16384:
+ del output[0]
+ v += output[0]
try:
n=self.send(v)
except socket.error, err:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic