0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 22:04:34 +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 Branch protection: Possibility to not use whitelist but allow anyone with write access (#9055) 2019-12-03 20:08:56 -05:00
avatar
base Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
cache Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
charset deps: update and fix chardet import (#9351) 2019-12-14 02:15:48 +02:00
context Add /milestones endpoint (#8733) 2019-12-15 14:20:08 +00:00
convert [Bug] [API] Add language to user api (#9215) 2019-11-30 11:18:40 -05:00
cron Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
generate
git Change target branch for pull request (#6488) 2019-12-16 14:20:25 +08:00
gitgraph Move git graph from models to modules/graph (#9027) 2019-11-16 08:47:57 +08:00
graceful Fix missed change to GetManager() (#9361) 2019-12-15 13:15:17 +00:00
highlight
httplib
indexer Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
lfs Make repository management section handle lfs locks (#8726) 2019-12-12 21:18:07 +08:00
log Log: Ensure FLAGS=none is -1 (#9287) 2019-12-07 23:36:47 -05:00
markup Markdown: Sanitizier Configuration (#9075) 2019-12-07 14:49:04 -05:00
metrics
migrations Sleep longer if request speed is over github limitation (#9335) 2019-12-16 23:16:54 -05:00
notification Change target branch for pull request (#6488) 2019-12-16 14:20:25 +08:00
options Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
password Add password requirement info on error (#9074) 2019-11-19 22:44:58 +00:00
pprof
private AuthorizedKeysCommand should not query db directly (#9371) 2019-12-16 20:49:07 -05:00
process Graceful: Cancel Process on monitor pages & HammerTime (#9213) 2019-11-30 16:40:22 +02:00
public Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
recaptcha fixed reCAPTCHA URL (#9083) 2019-11-22 08:03:45 +00:00
references Alternate syntax for cross references (#9116) 2019-12-01 15:57:05 +02:00
repofiles Refactor comment (#9330) 2019-12-15 16:57:34 -05:00
repository Move some repository methods from models to modules/repository (#9353) 2019-12-14 18:30:01 +01:00
search Move modules/indexer to modules/indexer/code (#9301) 2019-12-10 14:29:40 +01:00
secret
session Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
setting Add /milestones endpoint (#8733) 2019-12-15 14:20:08 +00:00
ssh Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
structs Change target branch for pull request (#6488) 2019-12-16 14:20:25 +08:00
sync Graceful: Xorm, RepoIndexer, Cron and Others (#9282) 2019-12-15 09:51:28 +00:00
task Sleep longer if request speed is over github limitation (#9335) 2019-12-16 23:16:54 -05:00
templates Add USE_SERVICE_WORKER setting (#9110) 2019-11-21 15:06:23 -05:00
test Add Close() method to gogitRepository (#8901) 2019-11-13 07:01:19 +00:00
timeutil Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
upload
user
util Convert EOL to UNIX-style to render MD properly (#8925) 2019-11-13 03:27:11 +01:00
validation Implement webhook branch filter (#7791) 2019-09-09 08:48:21 +03:00
webhook Remove text from action-only webhooks (#9377) 2019-12-17 08:28:19 +08:00