* jemalloc

* featurizeP

---------

Co-authored-by: Wyatt Verchere <wverchere@gmail.com>
This commit is contained in:
Geometrically
2024-01-27 18:13:52 -05:00
committed by GitHub
parent fc577241bd
commit 5b63b0b398
5 changed files with 52 additions and 10 deletions

View File

@@ -12,6 +12,10 @@ use labrinth::{check_env_vars, clickhouse, database, file_hosting, queue};
use log::{error, info};
use std::sync::Arc;
#[cfg(feature = "jemalloc")]
#[global_allocator]
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
#[derive(Clone)]
pub struct Pepper {
pub pepper: String,