Skip to content

Conversation

@sivukhin
Copy link
Collaborator

This PR saves additional data in the metafile for sync:

{
  ...
  "saved_configuration": {
    "remote_url": "http://localhost:31420",
    "partial_sync_prefetch": null,
    "partial_sync_segment_size": null
  }
}

This data is used only to preserve some configuration on disk and allow client to not store this anywhere else.
So, for example, in agentfs case, user will init db with some parameters once and then it can use it easily be providing only auth token.

…adata file

- we store partial sync configuration in order to load it if client didn't provide it through the code
- we also store remote_url for the same purpose
Copy link

@turso-bot turso-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please review @jussisaurio

@blacksmith-sh

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants