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
..
2019-08-23 12:40:29 -04:00
2019-08-23 12:40:29 -04:00
2019-12-15 14:20:08 +00:00
2019-06-12 15:41:28 -04:00
2019-12-07 23:36:47 -05:00
2018-11-04 22:20:00 -05:00
2019-08-23 12:40:29 -04:00
2019-06-12 15:41:28 -04:00
2019-08-23 12:40:29 -04:00
2019-11-22 08:03:45 +00:00
2019-12-15 16:57:34 -05:00
2019-03-08 11:42:50 -05:00
2019-08-23 12:40:29 -04:00
2019-12-15 14:20:08 +00:00
2019-08-23 12:40:29 -04:00
2019-08-17 13:10:17 +03:00
2019-06-12 15:41:28 -04:00