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 4 years ago

cathoderaydude commented 4 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 4 years ago

Done, for now - needs improvement.