cathoderaydude / Babel

A simple translation tool for on-screen text using Google Cloud Vision and Translate. Intended for translating emulated videogames and similar things.
MIT License
2 stars 0 forks source link

Add rate limiting crowbar #51

Open cathoderaydude opened 3 years ago

cathoderaydude commented 3 years ago

Some kind of mechanism needs to be implemented to rate-limit the API to prevent e.g. infinite loops. Something like, if more than 1000 OCR or translation requests go through in a minute, crash the app with a dire warning to the user.

cathoderaydude commented 3 years ago

Done, for now - needs improvement.