mirror of
https://github.com/Xpl0itU/WiiUDownloader.git
synced 2025-05-20 02:05:37 -04:00
Improve speed reporting
This commit is contained in:
parent
461d6f4a84
commit
e143f8531d
2 changed files with 49 additions and 8 deletions
|
@ -43,7 +43,7 @@ func downloadFile(ctx context.Context, progressReporter ProgressReporter, client
|
|||
filePath := filepath.Base(dstPath)
|
||||
|
||||
startTime := time.Now()
|
||||
ticker := time.NewTicker(250 * time.Millisecond)
|
||||
ticker := time.NewTicker(50 * time.Millisecond)
|
||||
defer ticker.Stop()
|
||||
isError := false
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue