You've already forked AstralRinth
forked from didirus/AstralRinth
feat(labrinth): database seed data fixtures for better installation and testing (#4132)
* feat(labrinth): database seed data fixtures for better installation and testing * chore(labrinth): simplify and fixup seed data fixture * docs(contributing/labrinth): enable all useful features for `sqlx-cli` install * chore(docs/labrinth): fix typo * chore(docs/labrinth): fix `cargo fmt` parameter typo * chore: replace Labrinth -> labrinth
This commit is contained in:
committed by
GitHub
parent
8af65f58d9
commit
3b8cd661bc
@@ -71,7 +71,7 @@ pub fn app_setup(
|
||||
enable_background_tasks: bool,
|
||||
) -> LabrinthConfig {
|
||||
info!(
|
||||
"Starting Labrinth on {}",
|
||||
"Starting labrinth on {}",
|
||||
dotenvy::var("BIND_ADDR").unwrap()
|
||||
);
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ async fn main() -> std::io::Result<()> {
|
||||
|
||||
if args.run_background_task.is_none() {
|
||||
info!(
|
||||
"Starting Labrinth on {}",
|
||||
"Starting labrinth on {}",
|
||||
dotenvy::var("BIND_ADDR").unwrap()
|
||||
);
|
||||
|
||||
|
||||
@@ -55,10 +55,10 @@ pub fn jemalloc_memory_stats(
|
||||
) -> Result<(), prometheus::Error> {
|
||||
let allocated_mem = IntGauge::new(
|
||||
"labrinth_memory_allocated",
|
||||
"Labrinth allocated memory",
|
||||
"labrinth allocated memory",
|
||||
)?;
|
||||
let resident_mem =
|
||||
IntGauge::new("labrinth_resident_memory", "Labrinth resident memory")?;
|
||||
IntGauge::new("labrinth_resident_memory", "labrinth resident memory")?;
|
||||
|
||||
registry.register(Box::new(allocated_mem.clone()))?;
|
||||
registry.register(Box::new(resident_mem.clone()))?;
|
||||
|
||||
Reference in New Issue
Block a user