send zips in 2.5MB increments

This commit is contained in:
Damien Elmes 2011-12-05 22:06:23 +09:00
parent 14f7c366d0
commit 5a3d65ac61

View file

@ -36,8 +36,7 @@ MEDIA_ADD = 0
MEDIA_REM = 1
# syncing vars
SYNC_ZIP_SIZE = 10*1024*1024
CHUNK_SIZE = 65536
SYNC_ZIP_SIZE = int(2.5*1024*1024)
MIME_BOUNDARY = "Anki-sync-boundary"
SYNC_URL = os.environ.get("SYNC_URL") or "https://ankiweb.net/sync/"
SYNC_VER = 0