Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set handle_request_timeout per route #180

Open
fdgStilla opened this issue Apr 5, 2023 · 3 comments
Open

Set handle_request_timeout per route #180

fdgStilla opened this issue Apr 5, 2023 · 3 comments

Comments

@fdgStilla
Copy link

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 ?

@eao197
Copy link
Member

eao197 commented Apr 5, 2023

Hi!

No, the current design doesn't allow this.

@fdgStilla
Copy link
Author

Ok thanks for the answer

@eao197
Copy link
Member

eao197 commented Apr 5, 2023

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.

@eao197 eao197 reopened this Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants