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
How to increase timeout on specific method? #1824
Comments
An experimental branch PR #1791 already allows adjusting request max size in handlers and I could implement timeout adjustments on that as well. You can test the streaming branch by:
These features are expected to be available in Sanic 20.6 or later, once the streaming branch gets merged, because without that it is difficult to implement such adjustments on per-route basis. |
Thank you so much @Tronic |
It works reliably but APIs are not finalised, so I would not recommend using it in any serious production setups at this time. By testing now you can affect how it is going to look, but otherwise you should wait until July or October for the first stable release. Within this branch, if your route has |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is incorrect, please respond with an update. Thank you for your contributions. |
This still needs to be sorted out. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is incorrect, please respond with an update. Thank you for your contributions. |
Is there any option to increase timeout and request size on the top of method such as decorators?
Sometimes we need to increase our time of request such as uploading files.
Also, I asked a question on Stackoverflow about this issue.
The text was updated successfully, but these errors were encountered: