mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-15 11:40:36 +03:00
Reduce number of goroutines in test, to avoid hitting the hard limit of 8128
This commit is contained in:
parent
a69a31a3bf
commit
7bafbce816
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user