mirror of
https://github.com/nxshock/gwp.git
synced 2024-11-27 03:31:02 +05:00
Add more info to README file
This commit is contained in:
parent
b9155d15d3
commit
0ae81d5570
@ -27,7 +27,9 @@ func f(i int) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
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++ {
|
for i := 0; i < 100; i++ {
|
||||||
n := i
|
n := i
|
||||||
|
Loading…
Reference in New Issue
Block a user