0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 01:34:34 +01:00
gitea/modules/migrations
Lunny Xiao ffc904b1e0 Sleep longer if request speed is over github limitation (#9335)
* Sleep longer if request speed is over github limitation

* improve code

* remove unused code

* fix lint

* Use github's rate limit remain value to determine how long to sleep

* Save reset time when finished github api request

* fix bug

* fix lint

* Add context.Context for sleep

* fix test

* improve code

* fix bug and lint

* fix import order
2019-12-16 23:16:54 -05:00
..
base Sleep longer if request speed is over github limitation (#9335) 2019-12-16 23:16:54 -05:00
error.go
git.go Sleep longer if request speed is over github limitation (#9335) 2019-12-16 23:16:54 -05:00
gitea.go Sleep longer if request speed is over github limitation (#9335) 2019-12-16 23:16:54 -05:00
gitea_test.go Sleep longer if request speed is over github limitation (#9335) 2019-12-16 23:16:54 -05:00
github.go Sleep longer if request speed is over github limitation (#9335) 2019-12-16 23:16:54 -05:00
github_test.go Update Github Migration Tests (#8938) 2019-11-12 22:48:21 +00:00
main_test.go
migrate.go Sleep longer if request speed is over github limitation (#9335) 2019-12-16 23:16:54 -05:00
update.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00