summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/src/leap/soledad/client/http_target/send.py2
-rw-r--r--common/src/leap/soledad/common/backend.py2
-rw-r--r--server/src/leap/soledad/server/__init__.py2
3 files changed, 3 insertions, 3 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,
diff --git a/common/src/leap/soledad/common/backend.py b/common/src/leap/soledad/common/backend.py
index 91f28fff..53426fb5 100644
--- a/common/src/leap/soledad/common/backend.py
+++ b/common/src/leap/soledad/common/backend.py
@@ -33,7 +33,7 @@ from leap.soledad.common.document import ServerDocument
class SoledadBackend(CommonBackend):
- BATCH_SUPPORT = True
+ BATCH_SUPPORT = False
"""
A U1DB backend implementation.
diff --git a/server/src/leap/soledad/server/__init__.py b/server/src/leap/soledad/server/__init__.py
index 7320c133..39edcc1b 100644
--- a/server/src/leap/soledad/server/__init__.py
+++ b/server/src/leap/soledad/server/__init__.py
@@ -265,7 +265,7 @@ CONFIG_DEFAULTS = {
'couch_url': 'http://localhost:5984',
'create_cmd': None,
'admin_netrc': '/etc/couchdb/couchdb-admin.netrc',
- 'batching': True
+ 'batching': False
},
'database-security': {
'members': ['soledad'],