mirror of
https://github.com/nxshock/gwp.git
synced 2024-11-27 03:31:02 +05:00
Fix speed filed name
This commit is contained in:
parent
21c13e0864
commit
bd74140174
@ -29,8 +29,9 @@ func f(i int) error {
|
|||||||
func main() {
|
func main() {
|
||||||
|
|
||||||
worker := gwp.New(4) // Create pool with specified number of workers
|
worker := gwp.New(4) // Create pool with specified number of workers
|
||||||
|
|
||||||
worker.ShowProgress = true // Enable progress indicator
|
worker.ShowProgress = true // Enable progress indicator
|
||||||
worker.ShowProgress = true // Show processing speed in progress indicator
|
worker.ShowSpeed = true // Show processing speed in progress indicator
|
||||||
worker.EstimateCount = 100 // Set total number on jobs to calculate ETA
|
worker.EstimateCount = 100 // Set total number on jobs to calculate ETA
|
||||||
|
|
||||||
for i := 0; i < 100; i++ {
|
for i := 0; i < 100; i++ {
|
||||||
|
Loading…
Reference in New Issue
Block a user