mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-01-19 03:00:29 +01:00
Save 1.4 MiB of memory
This commit is contained in:
parent
09866acdb5
commit
b1e96b69fd
@ -29,6 +29,7 @@ type App struct {
|
||||
func main() {
|
||||
TimezoneSetup()
|
||||
dlog.Init("dnscrypt-proxy", dlog.SeverityNotice, "DAEMON")
|
||||
runtime.MemProfileRate = 0
|
||||
|
||||
seed := make([]byte, 8)
|
||||
crypto_rand.Read(seed)
|
||||
|
Loading…
Reference in New Issue
Block a user