mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
send zips in 2.5MB increments
This commit is contained in:
parent
14f7c366d0
commit
5a3d65ac61
1 changed files with 1 additions and 2 deletions
|
@ -36,8 +36,7 @@ MEDIA_ADD = 0
|
||||||
MEDIA_REM = 1
|
MEDIA_REM = 1
|
||||||
|
|
||||||
# syncing vars
|
# syncing vars
|
||||||
SYNC_ZIP_SIZE = 10*1024*1024
|
SYNC_ZIP_SIZE = int(2.5*1024*1024)
|
||||||
CHUNK_SIZE = 65536
|
|
||||||
MIME_BOUNDARY = "Anki-sync-boundary"
|
MIME_BOUNDARY = "Anki-sync-boundary"
|
||||||
SYNC_URL = os.environ.get("SYNC_URL") or "https://ankiweb.net/sync/"
|
SYNC_URL = os.environ.get("SYNC_URL") or "https://ankiweb.net/sync/"
|
||||||
SYNC_VER = 0
|
SYNC_VER = 0
|
||||||
|
|
Loading…
Reference in a new issue