From 6dd649f6b83301a95514f5552831a82c34e42ab8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Geisend=C3=B6rfer?= Date: Fri, 26 Mar 2021 14:29:15 +0100 Subject: [PATCH] small change --- examples/goroutine/main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/goroutine/main_test.go b/examples/goroutine/main_test.go index 104ace9..109b4fd 100644 --- a/examples/goroutine/main_test.go +++ b/examples/goroutine/main_test.go @@ -20,7 +20,7 @@ func BenchmarkProfilerGoroutines(b *testing.B) { readyCh := make(chan struct{}) stopCh := make(chan struct{}) for i := 0; i < g; i++ { - go atStackDepth(8, func() { + go atStackDepth(16, func() { defer func() { stopCh <- struct{}{} }() readyCh <- struct{}{} })