forgejo/routers
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
..
admin Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
api/v1 Sleep longer if request speed is over github limitation (#9335) 2019-12-16 23:16:54 -05:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
org site admin could view org's members (#9346) 2019-12-14 01:36:59 -05:00
private AuthorizedKeysCommand should not query db directly (#9371) 2019-12-16 20:49:07 -05:00
repo Fix double webhook for new PR (#9375) 2019-12-16 15:27:18 -05:00
routes Change target branch for pull request (#6488) 2019-12-16 14:20:25 +08:00
user Fix cache problem on dashboard (#9358) 2019-12-15 15:44:23 -05:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
home.go Explore page: Add topic param to pagination (#9077) (#9078) 2019-11-20 04:07:09 -05:00
init.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
install.go Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00