Skip to content

Add sync interval support for synced databases #2055

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 14, 2025

Conversation

levydsa
Copy link
Contributor

@levydsa levydsa commented May 9, 2025

This adds sync interval support for synced databases, which use the V2 sync protocol.

Fixes #2059

@levydsa levydsa force-pushed the sync-interval branch 5 times, most recently from 3c0dc60 to 57ebef9 Compare May 13, 2025 19:05
@penberg penberg changed the title Sync interval for Offline Writes Add sync interval support for synced databases May 14, 2025
@penberg penberg added this pull request to the merge queue May 14, 2025
Merged via the queue into tursodatabase:main with commit e3904f9 May 14, 2025
19 checks passed
github-merge-queue bot pushed a commit that referenced this pull request May 20, 2025
fixes #2064

this patch fixes the regression introduced in
#2055

`bootstrap_db` calls the `export` endpoint and bootstraps the db
quickly. If we call `connect` before calling `bootstrap_db`, it will
create a local `.db` file and sync falls back to incremental
bootstrap which is super slow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sync interval not implemented for V2 sync protocol
2 participants