]> source.dussan.org Git - gitea.git/commit
Make the github migration less rate limit waiting to get comment per page from reposi...
authorLunny Xiao <xiaolunwen@gmail.com>
Wed, 30 Jun 2021 07:23:49 +0000 (15:23 +0800)
committerGitHub <noreply@github.com>
Wed, 30 Jun 2021 07:23:49 +0000 (15:23 +0800)
commit09663493543a2ce15fc90fbb3808dda5b87335e5
treee9b2ce99e5f0bb3c3115e129feb8194cb9f20f7f
parente8c6cead0fb926ced6595c7b22f56b1cc2540435
Make the github migration less rate limit waiting to get comment per page from repository but not per issue (#16070)

* Make the github migration less rate limit waiting to get comment per page from repository but not per issue

* Fix lint

* adjust Downloader interface

* Fix missed reviews

* Fix test

* Remove unused struct
13 files changed:
modules/migrations/base/downloader.go
modules/migrations/base/null_downloader.go
modules/migrations/base/retry_downloader.go
modules/migrations/gitea_downloader.go
modules/migrations/gitea_downloader_test.go
modules/migrations/github.go
modules/migrations/github_test.go
modules/migrations/gitlab.go
modules/migrations/gitlab_test.go
modules/migrations/gogs.go
modules/migrations/gogs_test.go
modules/migrations/migrate.go
modules/migrations/restore.go