Before refactor common item traits

This commit is contained in:
Dominik Werder
2022-11-29 14:37:22 +01:00
parent 75d492ff85
commit 075bdd05bd
10 changed files with 66 additions and 18 deletions

View File

@@ -52,6 +52,16 @@ pub async fn chconf_from_database(channel: &Channel, ncc: &NodeConfigCached) ->
return Ok(ret);
}
}
if channel.backend() == "test-disk-databuffer" {
if channel.name() == "scalar-i32-be" {
let ret = ChConf {
series: 1,
scalar_type: ScalarType::I32,
shape: Shape::Scalar,
};
return Ok(ret);
}
}
// TODO use a common already running worker pool for these queries:
let dbconf = &ncc.node_config.cluster.database;
let dburl = format!(