tdt / core

Transform any dataset into an HTTP API with The DataTank
http://thedatatank.com
83 stars 31 forks source link

request throttling any kind of requests #417

Open bertvannuffelen opened 8 years ago

bertvannuffelen commented 8 years ago

Hi,

I have a user who is sending to many requests to my TDT.

I find a function

private function applyThrottle($definition)

which implements throttling. But is seems only to be applicable for "elasticsearch" requests. Can this function also be applied for any kind of requests?

kr,

Bert

coreation commented 8 years ago

It can yes, some refactoring would be necessary though.