mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-04-13 10:01:41 +02:00
Prefer camelCase for internal database sizes db name
This commit is contained in:
parent
9ce7ccfbe7
commit
7ed9adde29
@ -20,6 +20,7 @@ use std::path::PathBuf;
|
||||
use std::sync::atomic::{AtomicBool, AtomicU32, Ordering};
|
||||
use std::sync::Arc;
|
||||
|
||||
use convert_case::{Case, Casing as _};
|
||||
use meilisearch_types::error::ResponseError;
|
||||
use meilisearch_types::heed::{Env, WithoutTls};
|
||||
use meilisearch_types::milli;
|
||||
@ -381,7 +382,10 @@ impl IndexScheduler {
|
||||
Less => "-",
|
||||
};
|
||||
|
||||
Some((dbname.to_string(), format!("{post:#.2} ({sign}{diff:#.2})").into()))
|
||||
Some((
|
||||
dbname.to_case(Case::Camel),
|
||||
format!("{post:#.2} ({sign}{diff:#.2})").into(),
|
||||
))
|
||||
})
|
||||
.into_iter()
|
||||
.flatten()
|
||||
|
Loading…
x
Reference in New Issue
Block a user