diff options
author | Thomas <9749173+uhthomas@users.noreply.github.com> | 2024-02-26 12:23:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-26 12:23:14 +0000 |
commit | aa559bf49615e375b749c735afd97cb6a7fb6698 (patch) | |
tree | 43a4ea9fc6319a8c90567ead077dcf40a3cdd4c3 /go.mod | |
parent | 2d968d46b78b4a37e88ab17bdda5870d84e86aa4 (diff) | |
download | syncthing-aa559bf49615e375b749c735afd97cb6a7fb6698.tar.gz syncthing-aa559bf49615e375b749c735afd97cb6a7fb6698.zip |
all: Use Linux container CPU quota (fixes #9357, fixes #9435) (#9436)
Go is not cgroup aware and by default will set GOMAXPROCS to the number
of available threads, regardless of whether it is within the allocated
quota. This behaviour causes high amount of CPU throttling and degraded
application performance.
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -38,6 +38,7 @@ require ( github.com/urfave/cli v1.22.14 github.com/vitrun/qart v0.0.0-20160531060029-bf64b92db6b0 github.com/willabides/kongplete v0.4.0 + go.uber.org/automaxprocs v1.5.3 golang.org/x/crypto v0.19.0 golang.org/x/net v0.21.0 golang.org/x/sys v0.17.0 |