Bigger chunks, from 16k to 1M
authorEdouard Tisserant
Wed, 05 Dec 2018 13:03:09 +0100
changeset 2465 47d3aea2be30
parent 2464 10437c6c294e
child 2466 98d28d809488
Bigger chunks, from 16k to 1M
connectors/ConnectorBase.py
--- a/connectors/ConnectorBase.py	Wed Dec 05 11:35:18 2018 +0100
+++ b/connectors/ConnectorBase.py	Wed Dec 05 13:03:09 2018 +0100
@@ -7,7 +7,8 @@
 
 class ConnectorBase(object):
 
-    chuncksize = 16384
+    #chuncksize = 16384
+    chuncksize = 1024*1024
     def BlobFromFile(self, filepath): 
         s = md5.new()
         blobID = s.digest()  # empty md5, to support empty blob