adguardhome: add GC and thread control variables
authorGeorge Sapkin <redacted>
Wed, 4 Mar 2026 15:11:53 +0000 (17:11 +0200)
committerGeorge Sapkin <redacted>
Thu, 5 Mar 2026 15:26:57 +0000 (17:26 +0200)
commitb9148c14947b293f263e234e08096fa2f914c397
tree45eb9b67b42b6af832477864878c0721e42660b7
parentc5dd05c5bd47845890432a04a11dcd1d1e247f3e
adguardhome: add GC and thread control variables

Add Go GC and threading control variables - GOGC, GOMEMLIMIT, and
GOMAXPROCS - to allow more granular control of the memory management on
lower memory devices.

Fixes: https://github.com/openwrt/packages/issues/28676
Link: https://go.dev/doc/gc-guide#GOGC
Link: https://pkg.go.dev/runtime#pkg-overview
Link: https://go.dev/blog/container-aware-gomaxprocs
Signed-off-by: George Sapkin <redacted>
net/adguardhome/Makefile
net/adguardhome/files/adguardhome.config
net/adguardhome/files/adguardhome.init
git clone https://git.99rst.org/PROJECT