Currently, there is no exposed sync_interval parameter in libsql's C bindings, which limits the flexibility of custom implementations built from source when using libsql's embedded replicas.
It would be beneficial to expose a sync_interval parameter in the C bindings, similar to how it's implemented in the TypeScript/JavaScript client API for libSQL. This would allow C implementations to configure automatic periodic sync.
For reference, the TypeScript/JavaScript client API for libSQL allows setting a sync interval like so:
Currently, there is no exposed
sync_interval
parameter in libsql's C bindings, which limits the flexibility of custom implementations built from source when using libsql's embedded replicas.It would be beneficial to expose a
sync_interval
parameter in the C bindings, similar to how it's implemented in the TypeScript/JavaScript client API for libSQL. This would allow C implementations to configure automatic periodic sync.For reference, the TypeScript/JavaScript client API for libSQL allows setting a sync interval like so: