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

Make REQUEST_TIMEOUT configurable #626

Closed
mariacarmina opened this issue Mar 27, 2023 · 0 comments · Fixed by #627
Closed

Make REQUEST_TIMEOUT configurable #626

mariacarmina opened this issue Mar 27, 2023 · 0 comments · Fixed by #627
Assignees

Comments

@mariacarmina
Copy link
Member

Due to latency of different URLs, provider has a hard coded timeout for download request which exists immediately. Some requests take more than 3 secs.
https://github.com/oceanprotocol/provider/blob/main/ocean_provider/file_types/definitions.py#L18

An user from Discord published an asset using Oracle cloud services as hosting method and provider rejected consuming the asset after 3 secs.

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

Successfully merging a pull request may close this issue.

1 participant