feat(server): use mimalloc as allocator

This commit is contained in:
Anna 2024-04-04 14:53:16 -04:00
parent d4c5eca2d5
commit f915e5d51f
Signed by: anna
GPG Key ID: D0943384CD9F87D1
1 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,9 @@ pub mod updater;
pub mod logging;
pub mod influx;
#[global_allocator]
static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc;
pub type WsStream = WebSocketStream<TcpStream>;
pub struct State {