librariesio / libraries.io

:books: The Open Source Discovery Service
https://libraries.io
GNU Affero General Public License v3.0
1.1k stars 206 forks source link

Handle Exhausted Tokens When Setting Authorized #3333

Closed mikeyoung85 closed 3 months ago

mikeyoung85 commented 3 months ago

Exceptions are being raised on the scheduled task to remove unauthorized tokens for ones that have hit their limit before we check on them. This should handle that error directly in the task so it the loop can continue.