Skip to content

Commit

Permalink
revert worker_processes of echo server
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Oct 13, 2023
1 parent f81efdf commit df0f309
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion testutil/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ func NewUpstreamEchoNGINXServer(t testing.TB, hostname string) string {
t.Fatal(err)
}
if err := tmpl.Execute(f, map[string]any{
"NumCPU": runtime.NumCPU(),
"Hostname": hostname,
}); err != nil {
t.Fatal(err)
Expand Down
2 changes: 1 addition & 1 deletion testutil/templates/nginx_echo.conf.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
worker_processes {{ .NumCPU }};
worker_processes 1;

load_module /etc/nginx/modules/ngx_http_js_module.so;

Expand Down

0 comments on commit df0f309

Please sign in to comment.