feat: Deadlock detector thread

This commit is contained in:
Jade Ellis committed 2026-02-15 15:19:02 +00:00
1 parent fcb646f8c4
commit 56eea935b6
4 files changed
+42

No files matched your search

+4
View File
@@ -5,6 +5,7 @@ use std::sync::{Arc, atomic::Ordering};
use conduwuit_core::{debug_info, error};
mod clap;
mod deadlock;
mod logging;
mod mods;
mod panic;
@@ -27,6 +28,9 @@ pub fn run() -> Result<()> {
}
pub fn run_with_args(args: &Args) -> Result<()> {
// Spawn deadlock detection thread
deadlock::spawn();
let runtime = runtime::new(args)?;
let server = Server::new(args, Some(runtime.handle()))?;