Save 1.4 MiB of memory

This commit is contained in:
Frank Denis 2021-03-08 15:36:30 +01:00
parent 09866acdb5
commit b1e96b69fd
1 changed files with 1 additions and 0 deletions

View File

@ -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)