mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-05 14:17:36 +03:00
Save 1.4 MiB of memory
This commit is contained in:
parent
09866acdb5
commit
b1e96b69fd
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue