restinio
restinio copied to clipboard
Set handle_request_timeout per route
I have REST server with some route that are supposed to respond very quickly and some endpoint that take a long time to respond (typically generating, processing and uploading a big file).
Is it possible to set the handle_request_timeout per route instead of setting it for all the routes ?
Hi!
No, the current design doesn't allow this.
Ok thanks for the answer
You give us an interesting idea. I've reopened this issue to come back to it when we have time to add something new to the RESTinio.