Add config parameter

This commit is contained in:
Dominik Werder
2025-06-27 17:29:31 +02:00
parent 33c13193eb
commit 04d27c30a1

View File

@@ -8,6 +8,10 @@ pub mod stream_impl_tracer;
pub mod streamext;
pub mod ttl;
fn bool_true() -> bool {
true
}
#[allow(unused)]
#[inline(always)]
pub fn is_log_direct() -> bool {
@@ -1010,6 +1014,8 @@ pub struct Database {
pub struct ScyllaConfig {
pub hosts: Vec<String>,
pub keyspace: String,
#[serde(default = "bool_true")]
pub bypass_cache: bool,
}
#[derive(Clone, Debug, Serialize, Deserialize)]