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

Shot should provide a timeout option #149

Open
damusix opened this issue Aug 20, 2024 · 0 comments
Open

Shot should provide a timeout option #149

damusix opened this issue Aug 20, 2024 · 0 comments
Labels
feature New functionality or improvement

Comments

@damusix
Copy link

damusix commented Aug 20, 2024

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

@damusix damusix added the feature New functionality or improvement label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality or improvement
Projects
None yet
Development

No branches or pull requests

1 participant