mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-19 08:20:13 +00:00
Detect migrating batch size (#7353)
* Make migrating batch size as configurable * detect different table batch insert size and remove config item * remove unrelated changes
This commit is contained in:
parent
ef57fe4ae3
commit
337d6915ff
4 changed files with 73 additions and 17 deletions
|
@ -7,6 +7,7 @@ package base
|
|||
|
||||
// Uploader uploads all the informations of one repository
|
||||
type Uploader interface {
|
||||
MaxBatchInsertSize(tp string) int
|
||||
CreateRepo(repo *Repository, opts MigrateOptions) error
|
||||
CreateMilestones(milestones ...*Milestone) error
|
||||
CreateReleases(releases ...*Release) error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue