Merge: refactor: 💡 optimizing GC

* commit '479675b6ccffbd9505a1edced40472438ea6a737':
  refactor: 💡 optimizing GC
This commit is contained in:
Andrey Meshkov 2019-07-24 17:06:04 +03:00
commit e9647e2962

View file

@ -1,6 +1,8 @@
package main
import (
"runtime/debug"
"github.com/AdguardTeam/AdGuardHome/home"
)
@ -11,5 +13,6 @@ var version = "undefined"
var channel = "release"
func main() {
debug.SetGCPercent(10)
home.Main(version, channel)
}