Update keylock/speed_test.go

This commit is contained in:
Fedor Korotkiy 2022-03-18 20:06:50 +00:00
parent cd018e9f4a
commit d77ae96464

View file

@ -70,7 +70,7 @@ func BenchmarkKeyLock_NoBusyWait(b *testing.B) {
cancel := make(chan struct{})
defer close(cancel)
for i := 0; i < 10000; i++ {
for i := 0; i < 5000; i++ {
go func() {
l.LockKeys(lockedKey, cancel)
}()