How to set a timeout for getInfo request?
Open
feature
- Dominant language
- JavaScript
- Stars
- 4.7k
- Forks
- 852
- PR merge metrics
- No merged PRs in 30d
Description
Hi, i'm requesting the video info over proxy and some proxies take a lot of time (more than 30s) to finish the request.
Is there a simple way to set the max. time taken for a get info request, so that i can start again with another proxy? I already tried to set "timeout" in the request options but it seems to not have any affect.
Or is there any way to destroy the actual request so that i can set an own timer?
I already googled a lot for setting timeouts for requests over proxy but haven't found a working solution. Maybe someown got it already to work?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.