Skip to content

fix connection problem.zoo #577

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

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

fix connection problem.zoo #577

wants to merge 1 commit into from

Conversation

dario-coscia
Copy link
Collaborator

@dario-coscia dario-coscia commented May 16, 2025

Description

This PR fixes #572.

Checklist

  • Code follows the project’s Code Style Guidelines
  • Tests have been added or updated
  • Documentation has been updated if necessary
  • Pull request is linked to an open issue

@dario-coscia dario-coscia self-assigned this May 16, 2025
@dario-coscia dario-coscia added the pr-to-review Label for PR that are ready to been reviewed label May 16, 2025

input_data = _load_tensor_from_url(input_url, ["x", "y", "mu1", "mu2"])
output_data = _load_tensor_from_url(output_url, ["u"])

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the test times, I think that loading data from URL takes too long. The timeout attribute has no control over the download time, but rather on the response time, as written on the documentation:

timeout is not a time limit on the entire response download; rather, an exception is raised if the server has not issued a response for timeout seconds (more precisely, if no bytes have been received on the underlying socket for timeout seconds). If no timeout is specified explicitly, requests do not time out.

Maybe we should think about a different solution, what is your opinion @dario-coscia @FilippoOlivo?

@dario-coscia dario-coscia added pr-to-fix Label for PR that needs modification and removed pr-to-review Label for PR that are ready to been reviewed labels May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-to-fix Label for PR that needs modification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants