mirror of
https://github.com/Xpl0itU/WiiUDownloader.git
synced 2025-05-23 11:37:07 -04:00
Remove unused ticker
This commit is contained in:
parent
55795bda44
commit
3c9bc3bb8b
1 changed files with 0 additions and 2 deletions
|
@ -33,8 +33,6 @@ func downloadFile(ctx context.Context, progressReporter ProgressReporter, client
|
|||
filePath := filepath.Base(dstPath)
|
||||
|
||||
startTime := time.Now()
|
||||
ticker := time.NewTicker(50 * time.Millisecond)
|
||||
defer ticker.Stop()
|
||||
|
||||
for attempt := 1; attempt <= maxRetries; attempt++ {
|
||||
req, err := http.NewRequestWithContext(ctx, "GET", downloadURL, nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue