mirror of
https://github.com/tursodatabase/libsql.git
synced 2024-12-15 07:29:41 +00:00
15dca45139
* Make PRAGMA synchronous configurable for a Namespace SQLite allows setting synchronous values to any four levels. This patch provides an option to set the level for a namespace which will be used for every connection. It defaults to `NORMAL`. allowed values: https://www.sqlite.org/pragma.html#pragma_synchronous e.g. to enable: curl -X POST http://sqld-admin-endpoint/v1/namespaces/<namespace>/config -H "Content-Type: application/json" -d '{"durability_mode": "strong"}' -v * Make `durability_mode` field optional in proto * Set `default` in the enum Co-authored-by: ad hoc <postma.marin@protonmail.com> --------- Co-authored-by: ad hoc <postma.marin@protonmail.com>