diff --git a/scripts/z-run b/scripts/z-run index 4ba7b51..597d3a4 100644 --- a/scripts/z-run +++ b/scripts/z-run @@ -505,7 +505,7 @@ prlimit -n262144 -- \ sudo -u "${USER}" -n -E -P -- \ env -i -- \ - "$( type -P -- wrk )" \ + ./.bin/wrk \ --threads 2 \ --connections 1 \ --timeout 1s \ @@ -530,7 +530,7 @@ prlimit -n262144 -- \ sudo -u "${USER}" -n -E -P -- \ env -i -- \ - "$( type -P -- wrk )" \ + ./.bin/wrk \ --threads 2 \ --connections 1 \ --timeout 1s \ diff --git a/sources/cmd/server-dummy.go b/sources/cmd/server-dummy.go index 1cb8d8f..5639201 100644 --- a/sources/cmd/server-dummy.go +++ b/sources/cmd/server-dummy.go @@ -17,7 +17,7 @@ func main () () { runtime.GOMAXPROCS (2) - debug.SetGCPercent (50) + debug.SetGCPercent (-1) debug.SetMaxThreads (128) debug.SetMaxStack (16 * 1024)