[Zodb-checkins]
SVN: ZODB/branches/blob-merge-branch/src/ZEO/ClientStorage.py
- tuning client storage transfer chunk size for blobs
Christian Theune
ct at gocept.com
Mon Feb 27 20:07:36 EST 2006
Log message for revision 65566:
- tuning client storage transfer chunk size for blobs
Changed:
U ZODB/branches/blob-merge-branch/src/ZEO/ClientStorage.py
-=-
Modified: ZODB/branches/blob-merge-branch/src/ZEO/ClientStorage.py
===================================================================
--- ZODB/branches/blob-merge-branch/src/ZEO/ClientStorage.py 2006-02-28 00:55:31 UTC (rev 65565)
+++ ZODB/branches/blob-merge-branch/src/ZEO/ClientStorage.py 2006-02-28 01:07:35 UTC (rev 65566)
@@ -913,7 +913,7 @@
serials = self.store(oid, serial, data, version, txn)
blobfile = open(blobfilename, "rb")
while True:
- chunk = blobfile.read(4096)
+ chunk = blobfile.read(1<<16)
# even if the blobfile is completely empty, we need to call
# storeBlob at least once in order to be able to call
# storeBlobEnd successfully.
More information about the Zodb-checkins
mailing list