1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 13:39:19 -05:00
forgejo/modules/task
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
..
migrate.go Sleep longer if request speed is over github limitation (#9335) 2019-12-16 23:16:54 -05:00
queue.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
queue_channel.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
queue_redis.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
task.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00