aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorThomas <9749173+uhthomas@users.noreply.github.com>2024-02-26 12:23:14 +0000
committerGitHub <noreply@github.com>2024-02-26 12:23:14 +0000
commitaa559bf49615e375b749c735afd97cb6a7fb6698 (patch)
tree43a4ea9fc6319a8c90567ead077dcf40a3cdd4c3 /go.mod
parent2d968d46b78b4a37e88ab17bdda5870d84e86aa4 (diff)
downloadsyncthing-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.mod1
1 files changed, 1 insertions, 0 deletions
diff --git a/go.mod b/go.mod
index 6a3954339..2a7285444 100644
--- a/go.mod
+++ b/go.mod
@@ -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