diff options
author | Victor Shyba <victor1984@riseup.net> | 2016-11-16 22:08:03 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2016-12-12 09:12:01 -0200 |
commit | 5989db73d6aff56ade7ca9526f9f5241616aa72a (patch) | |
tree | a9b3a56c8da947a648514d75e119186a49e919fa /server/src | |
parent | 3ec2aea071bdc1a76f90761adf9c0e38fa4cb832 (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/src')
-rw-r--r-- | server/src/leap/soledad/server/sync.py | 2 |
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 |