MaibornWolff / OSSLR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve rate limit handling

MorrisWitthein opened this issue · comments

  • Currently when the rate limit is reach each remaining request will start its own timer
  • This is inefficient and could potentially lead to errors
  • Instead only the first item encountering the rate limit should start a timer and i.e. create a queue for all following items
  • Also we check the rate limit for requests to websites other than github. In that case the rate limit doesn't apply though