d1vanov/libquentier

Keep the content of already downloaded sync chunks if rate limit is exceeded during their downloading.

Closed this issue · 1 comments

Currently if rate limit exceeds during sync chunks downloading, all the already downloaded data is just dropped so during the next sync attempt it gets re-downloaded thus provoking the same rate limit problem again. Need to find some way to keep the content from sync chunks.
Sync chunks contain valid data for notebooks, tags, saved searches etc. and metadata for notes. It seems that all the stuff beyond notes can just be added to the local storage right away and metadata for notes needs to be stored in some separate place. Or alternatively the whole content from already downloaded sync chunks can be stored in some separate place.

Will be done in #206.