0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-03-15 04:02:19 +01:00
gitea/modules
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
..
auth
avatar
base
cache
charset
context
convert
cron
generate
git
gitgraph
graceful
highlight
httplib
indexer
lfs
log
markup
metrics
migrations
notification
options
password
pprof
private
process
public
recaptcha
references
repofiles
repository
search
secret
session
setting
ssh
structs
sync
task
templates
test
timeutil
upload
user
util
validation
webhook