mirror of
https://github.com/nxshock/gwp.git
synced 2025-07-01 00:13:39 +05:00
Fix speed filed name
This commit is contained in:
parent
21c13e0864
commit
bd74140174
1 changed files with 2 additions and 1 deletions
|
@ -29,8 +29,9 @@ func f(i int) error {
|
|||
func main() {
|
||||
|
||||
worker := gwp.New(4) // Create pool with specified number of workers
|
||||
|
||||
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
|
||||
|
||||
for i := 0; i < 100; i++ {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue