Skip to content

wait_for_endpoint should have a timeout value #2539

@larroy

Description

@larroy

Describe the feature you'd like

wait_for_endpoint can potentially hang up forever, this is rare but we have observed such case where the endpoint fails to come online.

https://sagemaker.readthedocs.io/en/stable/api/utility/session.html#sagemaker.session.Session.wait_for_endpoint

we would like to have wait_for_endpoint have a timeout value so it will return control to the program after a specified time interval.

How would this feature be used? Please describe.
as above

Describe alternatives you've considered
Using a signal handler to interrupt the wait? but it's clunky and not elegant.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions