Improve date formatting

This commit is contained in:
Dominik Werder
2022-11-23 10:06:05 +01:00
parent dfff79329e
commit 9f97316caf
13 changed files with 247 additions and 67 deletions

View File

@@ -875,9 +875,9 @@ impl Api1EventsBinaryHandler {
let chans = qu
.channels()
.iter()
.map(|x| Channel {
.map(|ch| Channel {
backend: backend.into(),
name: x.clone(),
name: ch.name().into(),
series: None,
})
.collect();
@@ -888,7 +888,7 @@ impl Api1EventsBinaryHandler {
chans,
qu.disk_io_tune().clone(),
qu.decompress(),
qu.events_max(),
qu.events_max().unwrap_or(u64::MAX),
status_id.clone(),
node_config.clone(),
);

View File

@@ -42,7 +42,7 @@ pub async fn chconf_from_database(channel: &Channel, ncc: &NodeConfigCached) ->
channel.backend, ncc.node_config.cluster.backend
);
}
if channel.backend() == "testbackend" {
if channel.backend() == "test-inmem" {
if channel.name() == "inmem-d0-i32" {
let ret = ChConf {
series: 1,