Skip to content

Shot should provide a timeout option #149

@damusix

Description

@damusix

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew functionality or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions