summaryrefslogtreecommitdiff
path: root/client/src
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2015-12-03 19:34:56 -0300
committerVictor Shyba <victor.shyba@gmail.com>2015-12-03 19:34:56 -0300
commit7208d8bc5e5f23d0773533b15763f64d236489b4 (patch)
treeb5af59cca307439653a3ed5a8ed1469c4b4af7fa /client/src
parentd103491cbc17e6e7422653e9b01101ff446e7391 (diff)
[feat] set default to False on batching for now
All batching code has no effect by default with this commit. Since we know that this is a dangerous new feature we will enable them only on our test servers and check them manually before setting it as default or adding more configuration features. Use SyncTarget and server conf file to enable it for testing.
Diffstat (limited to 'client/src')
-rw-r--r--client/src/leap/soledad/client/http_target/send.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/leap/soledad/client/http_target/send.py b/client/src/leap/soledad/client/http_target/send.py
index c1252c13..e8abf35b 100644
--- a/client/src/leap/soledad/client/http_target/send.py
+++ b/client/src/leap/soledad/client/http_target/send.py
@@ -29,7 +29,7 @@ class HTTPDocSender(object):
They need to be encrypted and metadata prepared before sending.
"""
- MAX_BATCH_SIZE = 500 * 1000 # 500kB by default
+ MAX_BATCH_SIZE = 0 # disabled by now, this is being tested yet
@defer.inlineCallbacks
def _send_docs(self, docs_by_generation, last_known_generation,