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

Item.download and other file download interfaces should expose a timeout option for requests #552

Open
pgulley opened this issue Oct 26, 2022 · 1 comment

Comments

@pgulley
Copy link

pgulley commented Oct 26, 2022

Hello!
I'm working on a project which requires downloading very large files from the IA collections- some of which fail to return any data in the 12 second timeout window that's hard coded into the file.download interface.
It would be a huge boon if I could specify a larger timeout window when calling item.download(...) as the only other option available to me right now is to break out the url and manually complete the request.

@vxbinaca
Copy link

I ran into this on the last major outage @jjjake and would like a way to configure the timeout to wait, now the normal waits on tubeup don't apply because this is a search timeout I encountered but it's value is 12. Now uploading would have failed anyway even if search worked, and the entire site was down, but this still killed rips instead of patiently waiting in line.

If Paiges request gets a configurable timeout, it'd be nice if search would get this too.

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

No branches or pull requests

3 participants