syncthing: add GC and thread control variables
authorGeorge Sapkin <redacted>
Fri, 13 Mar 2026 21:24:56 +0000 (23:24 +0200)
committerHannu Nyman <redacted>
Sat, 21 Mar 2026 13:49:07 +0000 (15:49 +0200)
commit6accad3bb3f864c7b9a03a4c00c04d84b142a786
tree17f7bd756d6228ea239b92f16778d64827f5ad0c
parentcde9e3b668c6344cfe99b8b79e2ae4f45643157e
syncthing: add GC and thread control variables

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

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>
utils/syncthing/files/stdiscosrv.conf
utils/syncthing/files/stdiscosrv.init
utils/syncthing/files/strelaysrv.conf
utils/syncthing/files/strelaysrv.init
utils/syncthing/files/syncthing.conf
utils/syncthing/files/syncthing.init
git clone https://git.99rst.org/PROJECT