oceanprotocol / provider

REST API for provider of data services
Apache License 2.0
28 stars 38 forks source link

Make REQUEST_TIMEOUT configurable #626

Closed mariacarmina closed 1 year ago

mariacarmina commented 1 year ago

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.