mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
![]() Currently we only check the size on a one-way sync, allowing users
to bypass the limits by incrementally syncing a lot of material.
To prevent this:
- The server now checks if the collection is already oversize,
and forces a one-way sync if it is
- The client checks if the local collection is oversize and refuses
to proceed, so they don't waste time uploading material that will
likely trigger the limit the next time they sync.
(cherry picked from commit
|
||
---|---|---|
.. | ||
benches | ||
i18n | ||
io | ||
linkchecker | ||
process | ||
proto | ||
proto_gen | ||
src | ||
sync | ||
tests/support | ||
.gitignore | ||
bench.sh | ||
build.rs | ||
Cargo.toml | ||
README.md | ||
rust_interface.rs |
Anki's Rust code.