computer: stateful snapshot

This commit is contained in:
nym21
2025-12-17 14:22:31 +01:00
parent a006cefd71
commit 9b2f334130
26 changed files with 488 additions and 278 deletions

View File

@@ -19,6 +19,7 @@ use brk_query::AsyncQuery;
use brk_reader::Reader;
use brk_server::{Server, VERSION};
use log::info;
use mimalloc::MiMalloc;
use vecdb::Exit;
mod config;
@@ -27,6 +28,9 @@ mod website;
use crate::{config::Config, paths::*};
#[global_allocator]
static GLOBAL: MiMalloc = MiMalloc;
pub fn main() -> color_eyre::Result<()> {
// Can't increase main thread's stack size, thus we need to use another thread
thread::Builder::new()