Commit 46b0d1c1 authored by Christian Theune's avatar Christian Theune

- tuning client storage transfer chunk size for blobs

parent 87d6cb2d
......@@ -913,7 +913,7 @@ class ClientStorage(object):
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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment