ossn / fixme_backend

6 stars 17 forks source link

Improve worker logic #6

Closed alexdor closed 5 years ago

alexdor commented 5 years ago

Right now the worker runs every 5' . A more advanced logic should be implimented based on the remaining github api requests

aswinmprabhu commented 5 years ago

Hey @alexdor, Can you please provide more context on this issue so that I can work on it? By remaining api requests do you mean the rate limits?

alexdor commented 5 years ago

Yes, you are right, I mean the rate limit : )

The idea is to get issues from the repos until we reach the rate limit, once the worker reaches the rate limit it should wait until the limit has been refreshed and continue from where it stopped.