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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user