limiter icon indicating copy to clipboard operation
limiter copied to clipboard

go lang concurrency limiter.

Results 4 limiter issues
Sort by recently updated
recently updated
newest added

Hello Korovkin, I just want to let you know that your project inspired me to make my own version of it and write an article about it https://medium.com/@jaderd/you-have-to-limit-your-goroutines-if-you-want-a-reliable-aws-lambda-function-f8b8e81f56b4

not to be merged, this is to deal with: https://github.com/korovkin/limiter/issues/24 ``` $ go test -v limiter_test.go === RUN TestExample === RUN TestExample/TestExample --- PASS: TestExample (0.00s) --- PASS: TestExample/TestExample (0.00s)...

``` type Workers struct { Scanner *limiter.ConcurrencyLimiter Reader *limiter.ConcurrencyLimiter Remover *limiter.ConcurrencyLimiter Storage sync.Map } worker.Scanner.Execute(func() { err := readDir(path+"/"+e.Name(), worker, threadId, false) if err != nil { fmt.Println(err) } })...