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

Add Timeout to processURL #17

Open
EthanHumphrey-Current opened this issue May 8, 2024 · 0 comments
Open

Add Timeout to processURL #17

EthanHumphrey-Current opened this issue May 8, 2024 · 0 comments

Comments

@EthanHumphrey-Current
Copy link

Before Creating an Issue

The Problem

Currently, processURL does not allow for a timeout interval to be specified. This means that if the request takes upwards of 5, 10, or even 30 seconds to complete, we are stuck waiting for it to complete.

Solution You Would Like

It would be great if processURL had an optional timeout field that allowed the caller to specify a timeout in seconds that the request would stop after, and return some timeout error.

Alternatives You Considered

We've considered wrapping the call to processURL in our own timeout logic, but after a timeout the call continues to run and is not cancelled. Support for timeouts in the library itself would be the most effective solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant