0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-18 03:36:59 +00:00
Files
libsql/libsql-replication/proto/metadata.proto
2024-01-11 09:42:38 -05:00

18 lines
516 B
Protocol Buffer

syntax = "proto3";
package metadata;
// Database config used to send db configs over the wire and stored
// in the meta store.
message DatabaseConfig {
bool block_reads = 1;
bool block_writes = 2;
// The reason why operations are blocked. This will be included in [`Error::Blocked`].
optional string block_reason = 3;
// maximum db size (in pages)
uint64 max_db_pages = 4;
optional string heartbeat_url = 5;
optional string bottomless_db_id = 6;
optional string jwt_key = 7;
}