mirror of
https://github.com/DNSCrypt/doh-server.git
synced 2025-04-03 21:17:36 +03:00
Use jemalloc, because glibc's allocator is crap
This commit is contained in:
parent
d22331d106
commit
5a07001129
2 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,7 @@ base64 = "0.10"
|
|||
clap = "2"
|
||||
futures = "0.1"
|
||||
hyper = "0.12"
|
||||
jemallocator = "0.1"
|
||||
tokio = "0.1"
|
||||
tokio-current-thread = "0.1"
|
||||
tokio-timer = "0.2"
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#[global_allocator]
|
||||
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
||||
|
||||
use base64;
|
||||
use hyper;
|
||||
use tokio;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue