1
0
mirror of https://github.com/FloatTech/zbpdata.git synced 2024-11-17 17:47:14 +09:00

增加竞争速度

This commit is contained in:
源文雨 2022-04-17 20:33:18 +08:00
parent 365b1a915a
commit e48e615305

View File

@ -55,7 +55,6 @@ func main() {
fmt.Println("accqiring set lock, retry times:", i) fmt.Println("accqiring set lock, retry times:", i)
} }
} }
do1024("__setlock__", "fill")
var wg sync.WaitGroup var wg sync.WaitGroup
wg.Add(len(files)) wg.Add(len(files))
for i, fn := range files { for i, fn := range files {