You've already forked AstralRinth
forked from didirus/AstralRinth
Fix Labrinth not compiling on Windows due to jemalloc dependency (#3378)
This commit is contained in:
@@ -110,6 +110,8 @@ async fn main() -> std::io::Result<()> {
|
||||
.register_and_set_metrics(&prometheus.registry)
|
||||
.await
|
||||
.expect("Failed to register redis metrics");
|
||||
|
||||
#[cfg(not(target_env = "msvc"))]
|
||||
labrinth::routes::debug::jemalloc_mmeory_stats(&prometheus.registry)
|
||||
.expect("Failed to register jemalloc metrics");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user