shot
shot copied to clipboard
Shot should provide a timeout option
Runtime
any
Runtime version
any
Module version
any
Used with
Hapi
Any other relevant information
No response
What problem are you trying to solve?
When testing an endpoint that returns h.abandon, or whenever benchmarking an endpoint, I currently have to write some code to detect if an endpoint takes longer than x amount of time.
It would be very useful to include a timeout option that, when included, times the request out if it takes longer than x amount of time.
Do you have a new or modified API suggestion to solve the problem?
No response