summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2016-11-16 22:08:03 -0300
committerVictor Shyba <victor1984@riseup.net>2016-11-18 15:55:52 -0300
commit15cc77eed8be772b2217cc2b0c236d052131a5ef (patch)
tree73ca906f4b8fbea00fb2b2a2b6baad68c73258ec /server
parent3dd0a14e4874e3cc88d5364fbbbfeac6994b8c97 (diff)
[style] explicit unlimited request size
Request size on a stream can't be measured upfront and a limit doesn't make much sense. The real limit is user's Quota, to be implemented.
Diffstat (limited to 'server')
-rw-r--r--server/src/leap/soledad/server/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/leap/soledad/server/sync.py b/server/src/leap/soledad/server/sync.py
index d43fc822..f505a044 100644
--- a/server/src/leap/soledad/server/sync.py
+++ b/server/src/leap/soledad/server/sync.py
@@ -27,7 +27,7 @@ from leap.soledad.server.state import ServerSyncState
from leap.soledad.common.document import ServerDocument
-MAX_REQUEST_SIZE = 6000 # in Mb
+MAX_REQUEST_SIZE = float('inf') # It's a stream.
MAX_ENTRY_SIZE = 200 # in Mb
ENTRY_CACHE_SIZE = 8192 * 1024