1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-15 23:17:19 +00:00

remove context from retry downloader (#33871)

follow up to https://github.com/go-gitea/gitea/pull/33399 as I
apparently missed this one.
This commit is contained in:
TheFox0x7
2025-03-14 01:28:57 +01:00
committed by GitHub
parent d879ec6d92
commit 5d65b9060b
2 changed files with 15 additions and 17 deletions

View File

@@ -168,7 +168,7 @@ func newDownloader(ctx context.Context, ownerName string, opts base.MigrateOptio
}
if setting.Migrations.MaxAttempts > 1 {
downloader = base.NewRetryDownloader(ctx, downloader, setting.Migrations.MaxAttempts, setting.Migrations.RetryBackoff)
downloader = base.NewRetryDownloader(downloader, setting.Migrations.MaxAttempts, setting.Migrations.RetryBackoff)
}
return downloader, nil
}