Skip to content

🎧 Your Personal Streaming Service

Reduce number of goroutines in test, to avoid hitting the hard limit of 8128

Deluan7bafbce81682
diff --git a/utils/singleton/singleton_test.go b/utils/singleton/singleton_test.go
index 576676950..b187731a9 100644
--- a/utils/singleton/singleton_test.go
+++ b/utils/singleton/singleton_test.go
@@ -53,7 +53,7 @@ var _ = Describe("GetInstance", func() {
})
It("only calls the constructor once when called concurrently", func() {
- const maxCalls = 20000
+ const maxCalls = 8000
var numCalls int32
start := sync.WaitGroup{}
start.Add(1)