Skip to content

Short timeout in ocv_download causes build problems #13573

@thrimbor

Description

@thrimbor

ocv_download uses a timeout of 600 seconds, which is problematic when downloading large resources. This has already caused problems in the past (#11672, #10825), and is also a problem for me right now: Downloading face_landmark_model.dat fails due to the download speed barely reaching 50KiB/s (I don't know whether this is a problem of GitHub or my provider, I can only confirm it is not caused on my end, and that other downloads from GitHub are much faster).

This, together with the fact that failed downloads don't cause CMake to abort (deferring the errors to later steps of the build process), has been causing me quite a bit of trouble in the last few hours, which is why I suggest to remove the timeout completely.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions