feat(server): use mimalloc as allocator
This commit is contained in:
parent
e12d71d9fd
commit
58d4a3e602
@ -50,6 +50,9 @@ pub mod updater;
|
|||||||
pub mod logging;
|
pub mod logging;
|
||||||
pub mod influx;
|
pub mod influx;
|
||||||
|
|
||||||
|
#[global_allocator]
|
||||||
|
static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
||||||
|
|
||||||
pub type WsStream = WebSocketStream<TcpStream>;
|
pub type WsStream = WebSocketStream<TcpStream>;
|
||||||
|
|
||||||
pub struct State {
|
pub struct State {
|
||||||
|
Loading…
Reference in New Issue
Block a user