feat(server): use mimalloc as allocator
This commit is contained in:
parent
d4c5eca2d5
commit
f915e5d51f
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue