alumae / ruby-pocketsphinx-server

Ruby-based web service for speech recognition, using the PocketSphinx gstreamer module
Other
91 stars 19 forks source link

Implement optional limit for recognitions per user per day #3

Closed alumae closed 12 years ago

alumae commented 12 years ago

It should be possible to allow e.g. only 100 requests per day (or per hour, or whatever?) per user.

Open questions:

alumae commented 12 years ago

Implemented using rack/throttle gem. It's possible to specify max hourly, max daily requests per IP, and minimal request interval per IP.