betfair / cougar

Cougar is a framework for making building network exposed service interfaces easy.
http://betfair.github.io/cougar
Apache License 2.0
27 stars 18 forks source link

Time limit to process requests #37

Closed eswdd closed 10 years ago

eswdd commented 10 years ago

Add capability for a per-op time limit on the server side after which the EV processing thread should be interrupted.

eswdd commented 10 years ago

This will require us running a seperate thread from the control of the EV. We should have a configurable granularity/accuracy which affects sleep time between checking all outstanding EV requests to stop a busy spin loop.