From 5989db73d6aff56ade7ca9526f9f5241616aa72a Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Wed, 16 Nov 2016 22:08:03 -0300 Subject: [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. --- server/src/leap/soledad/server/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src') 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 -- cgit v1.2.3