mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
Prefer camelCase for internal database sizes db name
This commit is contained in:
parent
9ce7ccfbe7
commit
7ed9adde29
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue