mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-26 23:28:08 +03:00
Merge: refactor: 💡 optimizing GC
* commit '479675b6ccffbd9505a1edced40472438ea6a737':
refactor: 💡 optimizing GC
This commit is contained in:
commit
e9647e2962
1 changed files with 3 additions and 0 deletions
3
main.go
3
main.go
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue