mirror of
https://github.com/nxshock/gwp.git
synced 2025-07-12 02:03:13 +05:00
Add more info to README file
This commit is contained in:
parent
b9155d15d3
commit
0ae81d5570
1 changed files with 3 additions and 1 deletions
|
@ -27,7 +27,9 @@ func f(i int) error {
|
|||
}
|
||||
|
||||
func main() {
|
||||
worker := gwp.New(4)
|
||||
|
||||
worker := gwp.New(4) // Create pool with specified number of workers
|
||||
worker.EstimateCount = 100 // Set estimate jobs count count to show progress
|
||||
|
||||
for i := 0; i < 100; i++ {
|
||||
n := i
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue