msys2 / msys2-autobuild

🏭🏭🏭🏭🏭🏭🏭🏭
https://packages.msys2.org/queue
MIT License
35 stars 25 forks source link

Make a background thread to poll token. #39

Closed jeremyd2019 closed 3 years ago

jeremyd2019 commented 3 years ago

Default to every 30 minutes. Explicitly flush stdout from thread.

Call wait_for_api_limit_reset with min_remaining=-1 so it will never wait

This doesn't seem to have done any 'good' to make the token last longer. But putting this out for comment anyway.

lazka commented 3 years ago

lgtm, but as you said, not sure we need it. If you want to experiment with it some more and merging this makes your fork easier we can merge it.

jeremyd2019 commented 3 years ago

No, I just wanted to make sure I recorded this somewhere.